GitHub user mowcixo opened a pull request:
https://github.com/apache/cordova-wp8/pull/62
JsonHelper testing, and use of Newtonsoft.Json library to compile/decompile
JSON
When I tried to parse a WSSE security header with **JsonHelper**, I noticed
that the **DataContractJsonSerializer** doesn't return the wanted output.
That is because, the WSSE patterns has extra commas and colons in the value
string, like that:
```
UsernameToken Username="[email protected]",
PasswordDigest="ZTQXXXXXXXXXXXXXXXXXXXXXXXXXXXX0NTJlMGE2M2I0NGJiYWM4NA==",
Nonce="XXXXXXXXXXXXXXXXXXXXXXXXXXXXA==", Created="2014-10-11T18:48:07.232Z"
```
I recommend to delegate the serialization/deserialization of JSON in the
library Newtonsoft.Json for performance and a better result.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mowcixo/cordova-wp8 develop
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-wp8/pull/62.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #62
----
commit e434cdf82f1bde2b544c37d110f02c2248eebfb7
Author: Moisés Gramary Barbosa <[email protected]>
Date: 2014-10-12T14:14:53Z
First draft on JsonHelper tests.
commit 8d537823c885a87311344e27ee7a7740ff5ba579
Author: Moisés Gramary Barbosa <[email protected]>
Date: 2014-10-12T14:38:17Z
Simple array testing serialize/deserialize.
commit a93938d876300336c804415a63a10f8fb910190b
Author: Moisés Gramary Barbosa <[email protected]>
Date: 2014-10-12T14:38:51Z
Merge branch 'feature/implementing-json.net' into develop
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]