FromJson() public static method

Parses JSON text to produce Document.
public static FromJson ( string jsonText ) : Document
jsonText string
return Document
 /// <summary>
 /// Creates a document from a JSON string.
 /// The conversion is as follows:
 ///  Objects are converted to DynamoDB M types.
 ///  Arrays are converted to DynamoDB L types.
 ///  Boolean types are converted to DynamoDB BOOL types.
 ///  Null values are converted to DynamoDB NULL types.
 ///  Numerics are converted to DynamoDB N types.
 ///  Strings are converted to DynamoDB S types.
 /// </summary>
 /// <param name="json">JSON string.</param>
 /// <returns>Document representing the JSON data.</returns>
 public static Document FromJson(string json)
 {
     return(JsonUtils.FromJson(json));
 }