Value parser

[data/dictionary/Value parser]


Parses a single value in a dictionary based on a type definition dictionary.


Keywords: parse, dictionary, item, value

Input ports

  • 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.

Output ports

  • parsed: (number or any)

    Sends the parsed value.

Last updated