Easy Json
Simplifies json reading/writing by adding some extensions methods
favorite1favorites
thumb_up2upvotes
hard_drive
0 MB
folder
7 files
build
Engine v25
About This Package
Simplifies json reading/writing by adding some extensions methods
Example of usage:
Example of usage:
public class JsonConverter : JsonConverter<Line>
{
public override Line? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
if(typeToConvert != typeof(Line))
throw new ArgumentException($"Invalid type ({typeToConvert}).", nameof(typeToConvert));
if(reader.TokenType == JsonTokenType.Null)
return null;
Line line = new();
reader.ReadObjectProperties((ref reader, propertyName) => <--------
{
if(propertyName.SequenceEqual("Keys"u8)) <--------
{
reader.ReadArray((ref reader, index) => <--------
{
line.Add(reader.getByte());
});
}
}
return line;
}
}All Features:
- JsonReadException
- Utf8JsonReader extensions
- void AssertToken(JsonTokenType tokenType)
- void AssertToken(params IEnumerable<JsonTokenType> tokenTypes)
- JsonTokenType ReadOrThrow()
- JsonTokenType ReadTokenOrThrow(params IEnumerable<JsonTokenType> allowedTokenTypes)
- byte ReadByte()
- short ReadInt16()
- int ReadInt32()
- long ReadInt64()
- sbyte ReadSByte()
- ushort ReadUInt16()
- uint ReadUInt32()
- ulong ReadUInt64()
- float ReadSingle()
- double ReadDouble()
- decimal ReadDecimal()
- bool ReadBoolean()
- DateTime ReadDateTime()
- DateTimeOffset ReadDateTimeOffset()
- Guid ReadGuid()
- string? ReadString()
- void ReadObjectProperties(ReadPropertyDelegate readPropertyAction)
- void ReadObject(ReadPropertyDelegate readPropertyAction)
- void ReadArrayEntries(ReadArrayEntryDelegate readArrayEntryAction)
- void ReadArray(ReadArrayEntryDelegate readArrayEntryAction)
- ReadArrayEntries<T>(JsonSerializerOptions? options = null)
- ReadArray<T>(JsonSerializerOptions? options = null)
- Read<T>(JsonSerializerOptions? options = null)
- Get<T>(JsonSerializerOptions? options = null)
No usage statistics available
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
Package ID:
extended.easyjson
Created:
2025-12-04 17:12 UTC
Updated:
2026-05-04 22:02 UTC
Type:
library
Public:
Yes
Version:
229693
files:
7
Size:
0.1 MB
Engine Version:
25
Asset Version ID:
229693
Version Created:
2026-05-04 22:02 UTC
Hash:
6252117157742543682
Manifest: Open manifest
Compiler:
EasyJson, SANDBOX;ADDON;DEBUG, 1701;1702;1591;8669;, , , 1, Debug, Array, Array, Array, Array
Resources:
Code Package References:
229693
May 4, 2026
Changes on 2026-05-04
148864
Jan 31, 2026
Changes on 2026-01-31
132747
Dec 20, 2025
Changes on 2025-12-20
130253
Dec 4, 2025
Changes on 2025-12-04
130243
Dec 4, 2025
Changes on 2025-12-04
130237
Dec 4, 2025
Changes on 2025-12-04