Steve Sanderson
20e43adac5
camelCase all the JSONs ( #746 )
...
* Add camelCase utility
* Use camelCase when JSON-serializing (but not for dictionary keys)
* Make JSON deserialization treat member names case-insensitively (but retain case on dictionary keys)
* Use camelCase in JSON in the samples and templates
* Reverse the order of the params for the camelcase test because it's weird otherwise
* CR feedback
2018-05-04 16:14:38 +01:00
Steve Sanderson
4033560734
Support 'ref' syntax for capturing references to elements and components ( #685 )
2018-04-27 17:41:21 +01:00
Zachary Becknell
a9dc626cbe
SimpleJson: more informative exception when attempting to deserialize
...
object with non-empty constructor
2018-04-17 14:35:02 +01:00
Steve Sanderson
f15c995a2a
Ensure JSON deserializer only uses Activator.CreateInstance implicitly for structs
2018-03-29 10:41:07 +01:00
Matthew Lazarow
25cf73ed80
Json to struct error 388
2018-03-29 10:41:07 +01:00
Benjamin
64d7091b2b
fix #396 - added TimeSpan serialization and deserialization
2018-03-29 10:07:00 +01:00
Steve Sanderson
4202a6c9e1
In JsonUtil, support DateTimeOffset. Fixes #218 .
2018-03-15 17:25:50 +00:00
Steve Sanderson
48ae58196d
Add unit test to show JsonUtil handling IList<T> types
2018-03-12 10:52:59 +01:00
Steve Sanderson
0301250c4b
In SimpleJson, support enum values serialized as numbers.
...
Note: still doesn't support nullable enum types.
2018-03-05 02:02:26 +00:00
Steve Sanderson
02a0be5c2b
Add JsonUtil unit tests plus E2E tests for new StandaloneApp pages
2018-02-26 13:01:11 +00:00