stew

a monorepo of some sort
git clone git://git.nsmpr.xyz/stew.git
Log | Files | Refs

main.c (218B)


      1 #include <u.h>
      2 #include <libc.h>
      3 #include <json.h>
      4 
      5 char *jjjj = " { \"x\" : \"heh\" }";
      6 
      7 void
      8 main(void)
      9 {
     10 	JSONfmtinstall();
     11 
     12 	JSON *j = jsonparse(jjjj);
     13 
     14 	if (j == nil) print("err! %r\n");
     15 	else print("%J\n", j);
     16 }