Which of the following functions can be used to convert JSON string to Struct data type?

Which of the following functions can be used to convert JSON string to Struct data type?
A . TO_STRUCT (json value)
B . FROM_JSON (json value)
C . FROM_JSON (json value, schema of json)
D . CONVERT (json value, schema of json)
E . CAST (json value as STRUCT)

Answer: C

Explanation:

Syntax

Copy

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments