Commit 029f124
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 changed4 files changed
+2418
-1862
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
100 | 111 | | |
0 commit comments