parseDocument

Parses a JSON string into a Document.

Empty or blank input yields an empty mutable document. Otherwise this delegates to toDocument which deserializes the provided JSON.

Return

a Document instance, never null

Parameters

json

JSON representation of a Document