query
On this page

fromJSON

lib.strings.fromJSON

Primop
Docs pulled from | This Revision | about 1 hour ago

Takes 1 arguments

e


Convert a JSON string to a Nix value. For example,

builtins.fromJSON ''{"x": [1, 2, 3], "y": null}''

returns the value { x = [ 1 2 3 ]; y = null; }.


Noogle also knows

Aliases
Detected Type
fromJSON :: String -> a