fromJson<T> method

T fromJson <T>(TypeCode type, String value)

Converts JSON string into a value of type specified by a TypeCode.

  • type the TypeCode for the data type into which 'value' is to be converted.
  • value the JSON string to convert. Returns converted object value or null when value is null.