Closed BryanHunt closed 11 years ago
Great, thank you, I'll include it in version 0.5.2.
Any idea when you can release 0.5.2? I'm currently blocked by this problem.
It should be in http://ghillairet.github.com/p2/emfjson/snapshots now.
I picked up that build, and I'm seeing an exception with Jackson...
Caused by: java.lang.NoSuchMethodError: org.codehaus.jackson.JsonNode.getFields()Ljava/util/Iterator; at org.eclipselabs.emfjson.internal.JSONLoad.fillEAttribute(JSONLoad.java:175) at org.eclipselabs.emfjson.internal.JSONLoad.createEObject(JSONLoad.java:159) at org.eclipselabs.emfjson.internal.JSONLoad.fillResource(JSONLoad.java:142) at org.eclipselabs.emfjson.resource.JsResourceImpl.doLoad(JsResourceImpl.java:46)
Which version of Jackson are you using?
1.6.0
On Jan 31, 2013, at 10:06 AM, Guillaume Hillairet notifications@github.com wrote:
Which version of Jackson are you using?
— Reply to this email directly or view it on GitHub.
Ok i am on 1.9.5. If you can update it, you can get it from this repo http://ghillairet.github.com/p2. Seems that getFields has been added to the class JsonNode since version 1.8.0, but was on ObjectNode since 1.0.
I'm not getting the exception, but my fix is not working. I will debug and hopefully submit a pull request in a bit.
On Jan 31, 2013, at 10:07 AM, Bryan Hunt bhunt@mac.com wrote:
1.6.0
On Jan 31, 2013, at 10:06 AM, Guillaume Hillairet notifications@github.com wrote:
Which version of Jackson are you using?
— Reply to this email directly or view it on GitHub.
When a reference is loaded from JSON which is a proxy, the reference is being resolved instead of being added as a proxy. This can cause serious performance issues when the JSON is being loaded from the network.