Quantcast
Channel: Json.NET
Browsing all 1767 articles
Browse latest View live

Created Unassigned: JObject.SelectToken("id", true) throws exceptions even...

Sample code:string jsonString = "{\"bookId\":\"1000\"}";JObject json = JObject.Parse(jsonString);var bookId = json.SelectToken("bookId", true);//Expected result: bookId = "1000"//Actual result: Exception

View Article


Created Unassigned: ShouldSerialize{Property} not working if the method is...

public class A{}public class B{public A A { get; set;}public virtual bool ShouldSerializeA(){return false;}}Using version 6.0.2 this fails since the ShouldSerializeA is never called. If I make the...

View Article


Closed Unassigned: JObject.SelectToken("id", true) throws exceptions even...

Sample code:string jsonString = "{\"bookId\":\"1000\"}";JObject json = JObject.Parse(jsonString);var bookId = json.SelectToken("bookId", true);//Expected result: bookId = "1000"//Actual result:...

View Article

Closed Unassigned: ShouldSerialize{Property} not working if the method is...

public class A{}public class B{public A A { get; set;}public virtual bool ShouldSerializeA(){return false;}}Using version 6.0.2 this fails since the ShouldSerializeA is never called. If I make the...

View Article

Closed Unassigned: XML.LINQ Error in Visual Studio 2013 [25407]

I am using the latest SDK for Windows Phone 8.1. I just recently updated all my other SDKs to the latest and used NuGet to get the JSON package. The editor is having an error with the library...

View Article


Commented Unassigned: Strange decimal xml serialization [25393]

When using JsonConvert.DeserializeXNode some decimals (bigger than some value) serialize/deserialize with error.For example 1000000003.14159265358979 serializes to 1000000003.1415926.but...

View Article

Closed Unassigned: Strange decimal xml serialization [25393]

When using JsonConvert.DeserializeXNode some decimals (bigger than some value) serialize/deserialize with error.For example 1000000003.14159265358979 serializes to 1000000003.1415926.but...

View Article

Closed Unassigned: Comments are parsed as JValue-strings [25170]

```using(var textReader = new StreamReader(stream))using(var jsonReader = new JsonTextReader(textReader)) return JToken.ReadFrom(jsonReader);```If the JSON file starts with a comment then a single...

View Article


Released: Json.NET 6.0 Release 3 (Apr 27, 2014)

New feature - Added MetadataPropertyHandling New feature - Added support for reading MS format JSON dates to ReadAsDateTimeNew feature - Added support for serializing F# lists, sets and maps New...

View Article


Created Release: Json.NET 6.0 Release 3 (Apr 27, 2014)

New feature - Added MetadataPropertyHandlingNew feature - Added support for reading MS format JSON dates to ReadAsDateTimeNew feature - Added support for serializing F# lists, sets and mapsNew feature...

View Article

Closed Unassigned: Unhandled Exception: System.TypeLoadException: Could not...

Can any one explain me why this exception occurred while linking this to mono in unity ? i am referencing the dll from Json60r1\Bin\Portable40 . which is a portable version (i assuming it for mobile...

View Article

Commented Unassigned: System.Reflection.BindingFlags Build Warnings on...

Hey there,Really great work on the library. I use it basically everywhere!However, I encountered a build warning when I build my Windows Phone app, something like the...

View Article

Created Unassigned: Removal of Emit for use in Unity3d [25432]

Hi I use Unity3d for development. Unity3d is a c# mono solution for cross platform games. I am currently using a really old version of JsonFX (1.4) because It works across all platforms. It works...

View Article


Commented Unassigned: Installing NuGet package in the Package Manager fails.....

The install.ps1 from Json.NET fails to execute on our dev machines.. this is basically the only package we've had this problem with.. This is what happens when we install the package:```Adding...

View Article

Created Unassigned: Poor support for IEnumerable patterns [25436]

One can read data from a database through an IEnumerable interface, stream through the JSON.Net serialize and optionally compress.If the data is received over network, the receiver may optionally...

View Article


Reviewed: Json.NET 4.0 Release 2 (四月 29, 2014)

Rated 4 Stars (out of 5) - it is very useful to many good men

View Article

Reviewed: Json.NET 6.0 Release 3 (апр 30, 2014)

Rated 5 Stars (out of 5) - Great! Thanks a lot!

View Article


Commented Unassigned: Poor support for IEnumerable patterns [25436]

One can read data from a database through an IEnumerable interface, stream through the JSON.Net serialize and optionally compress.If the data is received over network, the receiver may optionally...

View Article

New Post: How do I cancel a download in progress

Hi! Flickr.NET has been a godsend when fetching images from Flickr. However, I do not understand how I can cancel the download from Flickr. C# Code:var t = new...

View Article

Created Unassigned: Use different file name for portable and non-portable...

If you have a solution that uses both portable and non-portable ( =.NET 4.5 core) projects, and build the solution to bin-folder, then the references are copied to the same folder. Now, if you...

View Article
Browsing all 1767 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>