the type of PODValue expected
the JSON-compatible encoding of the bare value with no type information
Optional
nameForErrorMessages: stringan optional name for this value to be used in error messages
a standard TypeScript POD value
TypeError if the input type or value are not validly formed
RangeError if a value is outside of the bounds
SyntaxError if a value is unparseable
Generated using TypeDoc
Parses a PODValue from JSON-compatible inputs which have already been parsed into separate
type
andvalue
. Most use cases should use podValueFromJSON instead. This function is intended as a helper for other parsers with their own source of type information.