Skip to content

NestedKeyMap and other data storage objects used in my code

Notifications You must be signed in to change notification settings

BoBkiNN/IndigoDataIo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JitPack release GitHub Release


IndigoDataIo

This is library that adds a new way to manipulate keyed map-like data. Keys is path like inside.some.object.value that will be used to get value from deep object.

Since version 3.0.0 TypeOps interface was introduced. This interface adds methods to create types for serialization. For example, we want to put int in gson's JsonObject, but we need to wrap it into JsonPrimitive for it and this operation of wrapping performs GsonOps object. This system was based on Mojang's DataFixerUpper library

Usage in maven:

Repository:

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

Core library:

<dependency>
    <groupId>com.github.BoBkiNN.IndigoDataIo</groupId>
    <artifactId>indigodataio</artifactId>
    <version>VERSION</version>
</dependency>

Gson artifact: Provides support for gson library and GsonOps with GsonData and JsonIo

<dependency>
    <groupId>com.github.BoBkiNN.IndigoDataIo</groupId>
    <artifactId>indigodataio-gson</artifactId>
    <version>VERSION</version>
</dependency>

TODO:

  • object that holds dataholder without generics

About

NestedKeyMap and other data storage objects used in my code

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages