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 detected
Detected Type
fromJSON :: String -> a
Implementation
This function is implemented in c++ and is part of the native nix runtime.