Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat ./bla.json
- {
- "auth_enabled": false,
- "server": {
- "http_listen_port": 3100
- }
- }
- nix-repl> file = builtins.readFile ./bla.json
- nix-repl> builtins.fromJSON file
- { auth_enabled = false; server = { ... }; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement