Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. cat ./bla.json
  2. {
  3. "auth_enabled": false,
  4. "server": {
  5. "http_listen_port": 3100
  6. }
  7. }
  8.  
  9.  
  10.  
  11.  
  12. nix-repl> file = builtins.readFile ./bla.json
  13.  
  14. nix-repl> builtins.fromJSON file
  15. { auth_enabled = false; server = { ... }; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement