klyn.io.json.JSON.parseMap
method
public static parseMap(source as Object) as Map<String, Object> throws IOException:
Description

Parses JSON object from a string, a reader or a file.

Throws
  • JSONParseException if the input is not valid JSON or its root value is not an object.
  • IOException if the resource is closed, inaccessible, not a valid file, or the underlying I/O operation fails.