parse

open fun parse(jsonBytes: Array<Byte>): ObjectContent<T>

Return ObjectContent from parsing the specific JSON bytes.

Return

the ObjectContent

Parameters

jsonBytes

the source JSON bytes

Throws

on parse error


open fun parse(jsonString: String): ObjectContent<T>

Return ObjectContent from parsing the specific JSON String.

Return

the ObjectContent

Parameters

jsonString

the source JSON string

Throws

on parse error