alisdair sullivan
|
fd1865b0e5
|
adds makefile
|
2011-11-29 20:05:49 -08:00 |
|
alisdair sullivan
|
a798391cd3
|
bumps version
|
2011-11-29 19:57:43 -08:00 |
|
alisdair sullivan
|
cf722ed8d9
|
restores old api
|
2011-11-29 19:56:00 -08:00 |
|
alisdair sullivan
|
9a968548c8
|
new encoder
|
2011-11-29 19:39:14 -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
|
55d0259c89
|
remove dead code
|
2011-11-29 19:37:37 -08:00 |
|
alisdair sullivan
|
c1f066a2db
|
removes extras dir
|
2011-11-28 17:32:40 -08:00 |
|
alisdair sullivan
|
1fad948aec
|
changes name of jsx_format to jsx_to_json and jsx_terms to jsx_to_term
|
2011-11-28 17:30:55 -08:00 |
|
alisdair sullivan
|
6a81f7885b
|
adds tests for naked terms
|
2011-11-28 17:22:54 -08:00 |
|
alisdair sullivan
|
c9b590735e
|
adds test for {labels, atom} option
|
2011-11-28 15:24:44 -08:00 |
|
alisdair sullivan
|
adc453b226
|
jsx_terms functional, could use more tests
|
2011-11-28 15:15:11 -08:00 |
|
alisdair sullivan
|
455b1ce85c
|
basic to_term implementation, minor fixes to encoder
|
2011-11-24 06:33:15 -08:00 |
|
alisdair sullivan
|
e89443b362
|
is_json implemented
|
2011-11-23 21:52:14 -08:00 |
|
alisdair sullivan
|
14277e4972
|
reworked interface and internals, encoder broken but needs wholesale changes to match new interface
|
2011-11-23 20:54:10 -08:00 |
|
alisdair sullivan
|
738c6667f1
|
building strings internally as lists of codepoints and then converting to binaries is faster than building binaries directly or stripping strings from binaries with binary:copy
|
2011-11-02 01:11:58 -07:00 |
|
alisdair sullivan
|
0ea61233c5
|
strings returned as binaries
|
2011-10-28 06:31:40 -07:00 |
|
alisdair sullivan
|
d5a91c0a06
|
new tests for edge cases, fixed bug in passing external option parsing
|
2011-10-27 06:35:48 -07:00 |
|
alisdair sullivan
|
c4b5e7010c
|
format/1,2 correctly handles 'indent' opt
|
2011-10-26 12:39:28 -07:00 |
|
alisdair sullivan
|
b823877608
|
format/1,2 correctly handles 'space' opt
|
2011-10-26 06:33:53 -07:00 |
|
alisdair sullivan
|
30e6745f53
|
decoder returns values in favor of incomplete when possible, use opt 'explicit_end' to revert to prior behaviour
|
2011-10-25 20:52:39 -07:00 |
|
alisdair sullivan
|
6f2c137a2e
|
add jsx_format.erl to app file
|
2011-10-25 20:09:01 -07:00 |
|
alisdair sullivan
|
1a9d1908f0
|
format/2 handles naked values
|
2011-10-25 20:08:46 -07:00 |
|
alisdair sullivan
|
7a56f72b7c
|
formatter works, kind of. only minifies currently
|
2011-10-24 22:51:39 -07: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
|
95dd7a67c6
|
remove additional accumulators from intermediate states
|
2011-09-19 23:06:37 -07:00 |
|
alisdair sullivan
|
b0844273c3
|
remove inactive opts from opts record
|
2011-09-14 06:45:51 -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
|
0d72a07aa7
|
i have no idea why, but adding /utf8 switches to raw codepoints in string/5 seems to speed up execution
|
2011-09-02 02:41:59 -05:00 |
|
alisdair sullivan
|
ac0c8dee25
|
binary optimization changes
|
2011-09-02 02:33:06 -05:00 |
|
alisdair sullivan
|
9e8361e10a
|
incremental test, fixed revealed bug in incomlete implementation
|
2011-08-31 19:35:09 -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
|
7fbb29369b
|
utf8 is the default encoding for decoder, no need to explicitly define it
|
2011-08-25 06:39:33 -07:00 |
|
alisdair sullivan
|
f6d980493f
|
minor reorginization of clauses
|
2011-08-25 06:28:05 -07:00 |
|
alisdair sullivan
|
affdd3cc62
|
minor fixups to spec/api
|
2011-08-19 20:13:49 -07:00 |
|
alisdair sullivan
|
6c3aee2835
|
further testing of repeated key behavior
|
2011-08-18 06:32:50 -07:00 |
|
alisdair sullivan
|
c1d8025081
|
update encoder_opts() spec
|
2011-08-18 06:25:10 -07:00 |
|
alisdair sullivan
|
e0a47225d8
|
Merge branch 'develop'
|
2011-08-17 19:34:21 -07:00 |
|
alisdair sullivan
|
68ff87748c
|
repeated keys ignored by default in jsx:json_to_term/1,2. option to ensure 'last key wins' behaviour
|
2011-08-17 19:33:59 -07:00 |
|
alisdair sullivan
|
6234e4a986
|
moves headers back to include dir so include_lib works. except jsx_format.hrl, because jsx_format needs a full rewrite
|
2011-08-16 22:45:32 -07:00 |
|
alisdair sullivan
|
6d6d61a817
|
structural work for secret project X, no behavioural or api changes
|
2011-08-16 21:27:05 -07:00 |
|
alisdair sullivan
|
5cf8173bd5
|
tests for jsx_encoder string escapes
|
2011-08-15 19:35:56 -07:00 |
|
alisdair sullivan
|
d33474d29d
|
unifies returns of encoder and decoder
|
2011-08-15 17:26:11 -07:00 |
|
alisdair sullivan
|
48ada362e9
|
(broken) test to check equivalency of encoder/decoder apis. more cases needed
|
2011-08-13 07:22:46 -07:00 |
|
alisdair sullivan
|
6357eb74c1
|
return {incomplete, ...} rather than error on incomplete input to json_to_term
|
2011-08-12 06:37:07 -07:00 |
|
alisdair sullivan
|
588c836547
|
minor change to guards on the fun returned when incomplete input detected
|
2011-08-12 06:36:13 -07:00 |
|
alisdair sullivan
|
9bf7554a35
|
remove wrong comment in jsx_common.hrl
|
2011-08-11 17:07:04 -07:00 |
|
alisdair sullivan
|
e1e9636901
|
removed embarassssssing CHANGES
|
2011-08-11 17:05:48 -07:00 |
|
alisdair sullivan
|
31614927e2
|
inline accumulation of events, ~30% speedup
|
2011-08-11 16:55:52 -07:00 |
|
alisdair sullivan
|
7b0cf9c724
|
jsx_terms decoder now uses new api
|
2011-08-11 00:23:46 -07:00 |
|