alisdair sullivan

Results 27 comments of alisdair sullivan

parts of what was talked about here i've implemented as a seperate library [here](https://github.com/talentdeficit/jsonfilter) there's also a different interface to working with json in erlang i've started [here](https://github.com/talentdeficit/json) that might...

i'm still working on a more user friendly way to handle custom encoding/decoding. i'll hopefully have something for you soon

i have, but i've been busy with other projects. i'll try to get a new release out in the next week or two

i'll look at adding this to the in progress 3.0 probably won't backport it to 2.x tho, because there's no low impact way to track multiple keys when decoding to...

you can use `raw` like: `jsx:encode([{, {raw, "{\"a\":1}"}])` but it's not particularly efficient. it's equivalent to `jsx:encode([{, jsx:decode("{\"a\":1}")])` more or less

a trusted raw option would still have to be decoded because of the way jsx works internally. all the valid input types are parsed into an AST that is then...

there's some json benchmarking tools at https://github.com/devinus/poison but they probably need to be updated. if i have time this week i'll try to update them to use latest jsx/jiffy

there's no reasonable way for jsx to get a record's fields at runtime, so the best possible encoding would probably be just a list of the values. that wouldn't allow...

we can encode datetimes automatically because there's no ambiguity (as we don't in general encode tuples) but we can't decode automatically because there's no way to know if a value...

i haven't had a chance to test with otp20 yet but i can't reproduce this with 19.x does `JSX_FORCE_MAPS=true rebar3 as prod release` work?