Sam O'Connor

Results 23 issues of Sam O'Connor

I added JSON2.jl to this test: https://github.com/samoconnor/LazyJSON.jl/blob/master/test/benchmark.jl#L46 The input file is: https://github.com/samoconnor/LazyJSON.jl/blob/master/test/ec2-2016-11-15.normal.json JSON2.jl is about 10 times slower than JSON.jl for this test: ```julia Access value close to start: LazyJSON.jl:...

I have a use case for JSON2.jl's automatic struct filling capability. Below is an example API definition file and a Julia `struct APIOperation` that represents an item in the `"operations"`...

It would be useful to have a facility for applying mutable quality tags to a release. e.g. - Make a quick-fix for a user-reported bug, push a release to the...

Pkg3

Cairo.jl does not build cleanly for AWS Lambda. The AWS Lambda sandbox runs on [Amazon Linux](https://aws.amazon.com/amazon-linux-ami/). An [equivalent EC2 image](https://github.com/samoconnor/AWSLambda.jl/blob/master/src/AWSLambda.jl#L1187) is used to build binaries that will run on AWS...

I received a report of memory leaks from an XMLDict user https://github.com/samoconnor/XMLDict.jl/issues/1. I'm somewhat surprised. The LightXML.jl doc says, under the heading "Create an XML Document", that "When you create...

Given that LightXML does not support XML Entities, asking LibXML to expand entities while parsing seems like the right thing to do...

parse_string(::AbstractString) and parse_file(::AbstractString) are too general to be exported

``` julia encoding(parse_string("")) ERROR: ArgumentError: cannot convert NULL to string ``` See: https://github.com/samoconnor/LightXML.jl/commit/058fc8c326290ec87b16089b1cd58549a3cb120d#diff-434665f0bad6ba3f5bf14654c456fa35L57

I've modified the LazyJSON tests so that they also apply the NST JSONTestSuite to JSON.jl and JSON2.jl: https://github.com/samoconnor/LazyJSON.jl/blob/master/test/runtests.jl#L360-L362 Below is a subset of failing tests for large ints (and one...

bug

Input: https://raw.githubusercontent.com/cweb/url-testing/master/urls.json ```julia julia> r = HTTP.get("https://raw.githubusercontent.com/cweb/url-testing/master/urls.json") julia> JSON.parse(HTTP.payload(r, String)) ERROR: Expected 'u' here Line: 36 Around: ...\\\ud800\\\u597D", "e... ^ Stacktrace: [1] _error(::String, ::JSON.Parser.MemoryParserState) at /Users/sam/.julia/v0.6/JSON/src/Parser.jl:135 [2] skip! at /Users/sam/.julia/v0.6/JSON/src/Parser.jl:76...

bug