Convenience method for creating BodySpecs that just use straight JSON encoding/decoding logic
Convenience method for creating ParameterSpecs that just use straight JSON encoding/decoding logic
Attempt to parse the JSON into the root node type.
Attempt to parse the JSON into the root node type. Implementations should throw an exception if the parsing fails, which is dealt with by the surrounding deserialisation mechanism.
Use this to parse and create JSON objects in a generic way