Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.
/ eon-rs Public archive

A reference parser for EON (Extensible Object Notation)

License

Notifications You must be signed in to change notification settings

TheArchitect4855/eon-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eon-rs

eon-rs is a Rust library for parsing EON.

Installation

Add eon-rs = "1.0.0" to your Cargo.toml file.

Usage

use eon_rs;

// Read EON from file
let mut object = eon_rs::load("/path/to/your/eon/file")
	.unwrap();

// Parse EON string
let value = eon_rs::parse("3.14159")
	.unwrap();

// Manipulate EON objects
object.set(
	String::from("foo"),
	EonValue::Bool(true),
);

let foo = object.get("foo").unwrap();

object.remove("foo");

// Serialize EON
let serialized = object.to_string();

Contributing

Contributions welcome. Make issues for any bugs, missing features, or large changes.

License

MIT

About

A reference parser for EON (Extensible Object Notation)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages