The fromjson tag should be used in connection with the interpretation of a JSON string as a stringified representation of an arbitrary JSON entity, e.g. "1" as the number 1.
fromjson
as a function would convert a JSON string representing an arbitrary JSON document to the corresponding JSON value, e.g "1" to the number 1
, "[1]" to the array [1]
, and so on.