Skip to content

rarnu/ison-jvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISON-JVM

A minimal, token-efficient data format optimized for LLMs and Agentic AI workflows.

The origin project and why (HERE)

Installation

Kotlin/Java

with Gradle

implementation("com.github.isyscore:ison-jvm:1.0.0.0")

with Maven

<dependency>
    <groupId>com.github.isyscore</groupId>
    <artifactId>ison-jvm</artifactId>
    <version>1.0.0.0</version>
</dependency>

Usage Examples

Kotlin

import com.rarnu.ison.ISON

val doc = ISON.parse("""
table.users
id:int name:string active:bool
1 Alice true
2 Bob false
""")

val users = doc.get("users")
for (row in users!!.rows) {
    val name = row["name"]?.asString()
    println(name)
}

Java(17+)

import com.rarnu.ison.ISON;

var doc = ISON.parse("""
table.users
id:int name:string active:bool
1 Alice true
2 Bob false
""");

var users = doc.get("users");
for (var row: users.getRows()) {
    var name = row.get("name").asString();
    System.out.println(name);
}

About

The JVM implementation of ISON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors