[ 
https://issues.apache.org/jira/browse/WICKET-6329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895544#comment-15895544
 ] 

Mikhail Fursov commented on WICKET-6329:
----------------------------------------

Some details about com.github.openjson activity:

First, I wanted to align it's interface with org.json classes: I collected all 
methods missed, added Iterable to JSONArray (committed) and next I added 
BigDecimal/BigInteger support (not commited).

But when I started writing tests for BigDecimals I found that there are a lot 
of uncertanty with this type support in org.json. This type is just not native 
for JSON. I also found that the current minimal state of the openjson is very 
clever: it does what it's expected to do and has no bloated, unnecessary and 
ambiguos utils.

So I reverted my changes and do not plan to add anything new to the package 
except tests (that are already at 95% according to converage reports).


> org.json migration issue
> ------------------------
>
>                 Key: WICKET-6329
>                 URL: https://issues.apache.org/jira/browse/WICKET-6329
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 8.0.0-M4
>            Reporter: Mikhail Fursov
>            Priority: Critical
>
> My project uses both Wicket and Google Firebase.
> After migrating to Wicket8 M4 I have this issue:
> java.lang.NoSuchMethodError: 
> org.json.JSONStringer.object()Lorg/json/JSONWriter;
>       at 
> com.google.firebase.database.util.JsonMapper.serializeJsonValue(JsonMapper.java:56)
>       at 
> com.google.firebase.database.util.JsonMapper.serializeJsonValue(JsonMapper.java:45)
>       at 
> com.google.firebase.database.util.JsonMapper.serializeJson(JsonMapper.java:25)
>       at 
> com.google.firebase.database.util.GAuthToken.serializeToString(GAuthToken.java:53)
>       at 
> com.google.firebase.database.core.JvmAuthTokenProvider$1.onComplete(JvmAuthTokenProvider.java:40)
>       at 
> com.google.firebase.tasks.OnCompleteCompletionListener$1.run(OnCompleteCompletionListener.java:37)
> Reason: Google libraries uses one library and Wicket uses another by the same 
> name. These 2 libraries are in conflict.
>  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to