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
|
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
|
c1d8025081
|
update encoder_opts() spec
|
2011-08-18 06:25:10 -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
|
26e479fc84
|
removes include dir, headers now live in src
|
2011-05-03 15:22:44 -07:00 |
|
alisdair sullivan
|
b2d923cbcb
|
api change, parser/0,1 deprecated, replaced with decoder/0,1
|
2011-04-26 23:40:12 -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
|
a6e7490a2b
|
options are now proplist style, so [comments] implies [{comments, true}] et cetera
|
2011-03-07 14:02:51 -08:00 |
|
alisdair sullivan
|
b75f68ebaf
|
fixed typo
|
2010-12-28 00:30:25 -08:00 |
|
alisdair sullivan
|
a99644a926
|
modified error return value from {error, badjson} to {error, {badjson, Bin}} where Bin is the input from the point of the error
|
2010-09-27 14:07:36 -07:00 |
|
alisdair sullivan
|
76d84e1ef2
|
updated specs with new unquoted keys opts
|
2010-09-23 22:28:35 -07:00 |
|
alisdair sullivan
|
098fcbab1e
|
{unquoted_keys, true | false} now allows control of whether unquoted object keys are rejected or not by the parser/eep0018 decoder
|
2010-09-23 22:27:55 -07:00 |
|
alisdair sullivan
|
4934c6e6fb
|
fixed formatting
|
2010-09-22 23:04:01 -07:00 |
|
alisdair sullivan
|
aa3385a31d
|
added type specs to all publically exported functions
|
2010-09-15 21:30:25 -07:00 |
|
alisdair sullivan
|
a86dec09ef
|
major whitespace updates to get line lengths down to < 80 characters whenever possible (a few tests ignore this). srx/jsx_test.erl was not touched because it's shortly to be replaced
|
2010-08-25 23:17:10 -07:00 |
|
alisdair sullivan
|
203ec6e5e0
|
removed types and specs, since they are not supported in the default erlang's some linux distros supply
|
2010-08-25 21:28:13 -07:00 |
|
alisdair sullivan
|
ba423bce3e
|
whitespace
|
2010-08-23 13:42:05 -07:00 |
|
alisdair sullivan
|
a952af9bf2
|
removed all wonky option matching, replaced with records
|
2010-08-23 13:40:56 -07:00 |
|
alisdair sullivan
|
1f1cb04cfd
|
moved option parsing into the decoder module,trying to get as much implementation outside the interface module as possible
|
2010-08-23 13:36:53 -07:00 |
|
alisdair sullivan
|
00baba4dc7
|
renamed format opts record
|
2010-08-22 23:59:39 -07:00 |
|
alisdair sullivan
|
134aa8cc49
|
removed the need to regenerate the jsx_utfxx decoders. not sure why i didn't do that before, pretty sure i had a bad reason
|
2010-08-22 11:31:14 -07:00 |
|
alisdair
|
8c308159e1
|
interstitial commit to preserve experiment
|
2010-08-22 02:01:22 +00:00 |
|
alisdair sullivan
|
6ff74e6d59
|
edoc documentation added
|
2010-08-19 23:30:22 -07:00 |
|
alisdair sullivan
|
c098b06e88
|
general cleanup of modules, moved most types, specs, defines and records to header files and did some minor reformatting to adhere to style guidelines
|
2010-08-19 18:22:34 -07:00 |
|
alisdair sullivan
|
b016087ceb
|
more type fixes
|
2010-08-11 23:11:12 -07:00 |
|
alisdair sullivan
|
f02724602c
|
changed a few types
|
2010-08-11 22:32:57 -07:00 |
|
alisdair sullivan
|
4c378791f9
|
first step moving json project into jsx tree, compiles, but not tested
|
2010-08-03 14:16:56 -07:00 |
|
alisdair sullivan
|
0dea50b1e7
|
fixed erroneous -type
|
2010-08-03 00:27:58 -07:00 |
|
alisdair sullivan
|
42a18cfcd9
|
major change to api, {incomplete, Next, Force} replaced by {incomplete, Next/1} where Next/1 accepts 'end_stream' to replicate what Force/1 used to do
|
2010-07-27 00:05:45 -07:00 |
|
alisdair sullivan
|
a83a0a4ebc
|
reworked build system to use rebar, tests still use external script, moved jsx_decoder.erl template to /priv from /src
|
2010-07-26 18:04:23 -07:00 |
|
alisdair sullivan
|
a87a59fbff
|
renamed pretty_printer and added a very basic parser to examples
|
2010-05-31 21:00:06 -07:00 |
|
alisdair sullivan
|
baf8561780
|
moved the opts record back to private header file
|
2010-05-31 21:00:04 -07:00 |
|
alisdair sullivan
|
a932422d17
|
public interface begun
|
2010-05-31 21:00:04 -07:00 |
|
alisdair sullivan
|
7468313ffc
|
moved opts record def from jsx_common.hrl to a public jsx.hrl header file
actually included the new header, oops
|
2010-05-31 21:00:00 -07:00 |
|