parse

Parse a JSON array string into an array.

Return

The parsed array or null if parsing failed or the passed string is null..

Parameters

json

The JSON array string to parse; can be null.


Parse a file with JSON array into an array.

Return

The parsed array or null if parsing failed or the passed file is null.

Parameters

file

The file with JSON array to parse; can be null.


Parse a JSON array string into an array.

Return

The parsed array or null if parsing failed or the input stream was null.

Parameters

stream

The JSON array stream to parse; can be null. Will be closed.