Skip to content

Conversation

@KTW-NIRAS
Copy link

@KTW-NIRAS KTW-NIRAS commented Oct 19, 2017

Added support for different object naming styles: (Enum)
[JSONParameters.NamingStyle]

  • Normal (Default)
  • LowerCase
  • CamelCase

Added support for handling when the SerializerMaxDepth limit is hit: (Enum)
[JSONParameters.SerializerMaxDepthHandling]

  • Throw (Defaults to the current behavior)
  • InsertNull ("obj":"null")
  • InsertEmpty ("obj":"{}")

(I was replacing Json.Net with fastJSON in a MVC5 project, and needed the same behavior.)

…es to full lowercase.

(Bug discovered in serialized GeoJSON - "CRS" was "cRS" and not "crs")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant