jrjackson icon indicating copy to clipboard operation
jrjackson copied to clipboard

Jruby wrapper for Jackson (and Smile)

Results 12 jrjackson issues
Sort by recently updated
recently updated
newest added

* The build still uses Bundler 1.x and JRuby 9.2 (jar-dependencies uses jruby 9.0). * `mvn package` seems to fail on java 11+ * I also hit https://github.com/torquebox/jruby9-maven-plugins/issues/5 Stretch goal:...

As I have retired from software development work and am fully occupied with other things, it is time to transfer ownership of this project to the biggest users of it...

I am not sure I understand why the method `to_json` is not the first one looked up in `serializeUnknownRubyObject` - https://github.com/guyboertje/jrjackson/blob/master/src/main/java/com/jrjackson/RubyAnySerializer.java#L74 IMO it should be the first method tried to...

Running `json.dump` concurrently across multiple threads can cause an `ArrayIndexOutOfBoundsException`: ``` warning: thread "Ruby-0-Thread-53: jrjack.rb:1" terminated with exception (report_on_exception is true): java.lang.ArrayIndexOutOfBoundsException: 965 at sun.util.calendar.BaseCalendar.getCalendarDateFromFixedDate(BaseCalendar.java:453) at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2397) at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2312) at...

> 8.1. Character Encoding > > JSON text SHALL be encoded in UTF-8, UTF-16, or UTF-32. The default > encoding is UTF-8, and JSON texts that are encoded in UTF-8...

Rails serialize BigDecimal as String. If we want to use JrJackson as drop in replacement, we need an option to serialize BigDecimal as String. Test case: ``` require 'bundler/inline' gemfile...

For those who would like to use JrJackson in java projects it will be much convenient to get it from Maven Central. Thanks a lot!

After ran the `rake` command, I run into a compilation error: ``` ... [INFO] Compiling 38 source files to /work/jrjackson/pkg/classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time:...

## Description After gson upgrade, jrjackson needs to catch new version of gson to solve [CVE-2022-25647](https://nvd.nist.gov/vuln/detail/CVE-2022-25647). Reported issue: https://github.com/avsej/gson.rb/issues/10 Current 0.6.1 version internally uses `lib/gson-2.2.2.jar` which is [CVE-2022-25647](https://nvd.nist.gov/vuln/detail/CVE-2022-25647) eligible. `gson`...