Commit graph

22 commits

Author SHA1 Message Date
alisdair sullivan
620e6c7d91 factor out float formatting into nicedecimal, include as dep 2012-03-04 17:01:04 -08:00
alisdair sullivan
63faf04115 factor out gen_json 2012-03-02 22:53:45 -08:00
alisdair sullivan
e145220d92 move handling of anonymous handlers to gen_json 2011-12-14 20:57:17 -08:00
alisdair sullivan
5545be32ba adds new utility function enable handling of anon functions in various handlers 2011-12-04 23:41:00 -08:00
alisdair sullivan
03e50ac0cc removes loose_unicode opt from erlang -> json conversion 2011-11-30 19:08:38 -08:00
alisdair sullivan
0035cd67a7 loose_unicode now applies to string escaping performed on binaries converted TO json as well as from 2011-11-29 21:04:24 -08:00
alisdair sullivan
d7c1ef9b4d remove string escaping functions, unused 2011-11-29 20:32:47 -08:00
alisdair sullivan
6dacf64620 refactors out extraction of parser opts, generalizes use of specific parsers by processors 2011-11-29 19:39:01 -08:00
alisdair sullivan
200fb231a9 fresh api. virtually whole new thing, entirely new interface and heavily modified encoder/decoder 2011-10-21 18:16:16 -07:00
alisdair sullivan
9c5710b97c reorg of opts parsing, some minor source cleanups 2011-10-19 06:51:36 -07:00
alisdair sullivan
59a983bbe9 remove license replication from include files, move json_escape/2 to jsx_utils 2011-09-14 06:44:52 -07:00
alisdair sullivan
7e88a14525 massive simplification of api, operation and internals. removes all demo modules temporarily 2011-08-31 18:52:01 -07:00
alisdair sullivan
39605da171 add collect function to jsx_utils for later use 2011-08-10 01:44:38 -07:00
alisdair sullivan
59bde85780 unexported pow/2 from jsx_utils, can't remember why i did that 2011-08-10 01:33:43 -07:00
alisdair sullivan
03381567d2 whitespace 2011-07-31 00:05:34 -07:00
alisdair sullivan
653205501c adds loose_unicode option which replaces badly formed unicode (escaped non-characters and restricted codepoints, as well as partial surrogates) with u+fffd instead of throwing an error 2011-07-27 01:59:03 -07:00
alisdair sullivan
68d78c8e25 new api: strings and keys returned as binaries, integers as integers, floats as floats, tuple format changed from {event, ..., ...} to {jsx, ..., ...}, tests updated 2011-07-26 00:35:17 -07:00
alisdair sullivan
51eb579f86 exports pow/2 from jsx_utils 2011-07-04 16:31:31 -07:00
alisdair sullivan
77af00359f detect_encoding/2 uses decoder/1 instead of parser/1 2011-04-26 23:44:32 -07:00
alisdair sullivan
6cc28573b6 changes default for strict to false from true to better match other json encoders/decoders in the wild 2011-04-26 21:30:57 -07:00
alisdair sullivan
e22ec34000 moves encoding detection to jsx_utils 2011-04-16 22:18:59 -07:00
alisdair sullivan
32c9a1f00f integrates nicefloats into jsx 2011-03-22 18:53:02 -07:00
Renamed from deps/nicefloats/src/nicefloats.erl (Browse further)