Skip to content

Commit 029f124

Browse files
committed
- Added Clear() method to JSONNode.
- The parser will now automatically mark arrays or objects as inline when it doesn't contain any new line characters. This should more or less preserve the layout. - Added new extension file "SimpleJSONDotNetTypes.cs" to provide support for some basic .NET types like decimal, char, byte, sbyte, short, ushort, uint, DateTime, TimeSpan and Guid as well as some nullable types. - Fixed an error in the Unity extension file. The Color component order was wrong (it was argb, now it's rgba) - There are now two static float variables (ColorDefaultAlpha and Color32DefaultAlpha) to specify the default alpha values when reading UnityEngine.Color / Color32 values where the alpha value is absent. The default values are 1.0f and 255 respectively.
1 parent 1eed6dc commit 029f124

File tree

4 files changed

+2418
-1862
lines changed

4 files changed

+2418
-1862
lines changed

Changelog.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,16 @@
9696
*
9797
* [2019-12-10 Update]
9898
* - Added Clone() method to JSONNode to allow cloning of a whole node tree.
99-
*
99+
*
100+
* [2020-09-19 Update]
101+
* - Added Clear() method to JSONNode.
102+
* - The parser will now automatically mark arrays or objects as inline when it doesn't contain any
103+
* new line characters. This should more or less preserve the layout.
104+
* - Added new extension file "SimpleJSONDotNetTypes.cs" to provide support for some basic .NET types
105+
* like decimal, char, byte, sbyte, short, ushort, uint, DateTime, TimeSpan and Guid as well as some
106+
* nullable types.
107+
* - Fixed an error in the Unity extension file. The Color component order was wrong (it was argb, now it's rgba)
108+
* - There are now two static float variables (ColorDefaultAlpha and Color32DefaultAlpha) to specify the default
109+
* alpha values when reading UnityEngine.Color / Color32 values where the alpha value is absent. The default
110+
* values are 1.0f and 255 respectively.
100111
*/

0 commit comments

Comments
 (0)