parseResourceToJsonNode

fun parseResourceToJsonNode(payload: String): <Error class: unknown class>

Takes an existing REsource in the form of a json string and parses it into a JsonNode object. Validates object structure.

Return

The json string parsed into a JsonNode object.

Parameters

payload

The resource as a json string.

Throws

if the payload does not conform to the expected json schema.