Value parser
Last updated
Last updated
[data/dictionary/Value parser]
Parses a single value in a dictionary based on a type definition dictionary.
Keywords: parse, dictionary, item, value
key: string
Receives the key for the value to be parsed
types: {string: ("number" or "json")}
Receives the type definition dictionary. Example: { "height": "number", "data": "json" }
value: string
Receives the dictionary value to be parsed.
parsed: (number or any)
Sends the parsed value.