This project has moved and is read-only. For the latest updates, please go here.


Serializing System.Object arguments


I had trouble serializing System.Object s that were passed to my logging function. Received an error message along the lines of "Token ... in state Start would result in an invalid JavaScript object." Anyway I changed [Start, Value] in the stateArray matrix from State.Error to State.Property and everything is A OK on my end. I do not know the ramifications of my edit, suffice to say that it enables me to serialize simple dotnet objects.
Closed Feb 28, 2008 at 9:43 AM by JamesNK
Changes made towards Json.NET 2.0 seem to have resolved this issue.