Skip to content

Commit

Permalink
fix json support since Steve Teuber's patches were outdated
Browse files Browse the repository at this point in the history
- add json support to games added since Steve Teuber's patches
- use xform_names instead of name_xforms since Steven Hartland's refactoring
- use xform_printf() instead of fprintf() for json output
- remove commented out code
- use %s for a const switch seems a bit wasteful, fixing it
- do not use inline tests
- explicitely test pointers with NULL
- escape lone backslash character too
- RFC 4627 says: “JSON text SHALL be encoded in Unicode. The default encoding is UTF-8.”
  • Loading branch information
illwieckz committed Jul 8, 2015
1 parent 8b20c29 commit 96356a8
Show file tree
Hide file tree
Showing 2 changed files with 436 additions and 369 deletions.
Loading

0 comments on commit 96356a8

Please sign in to comment.