TySON (TypeScript Object Notation) is a subset of TypeScript, chosen to be useful as an embeddable configuration language that generates JSON. You can think of TySON as JSON + comments + types + basic logic using TypeScript syntax. TySON files use the .tson extension. The goal is to make it possible for all major programming languages to read configurations written in TypeScript using native libraries. That is, a go program should be able to read TySON using a go library, a rust program should be able to read TySON using a rust library, and so on. Our first implementation is written in pure go, and a rust implementation will follow.

Features

  • Use TypeScript's type system to ensure that your configuration is valid
  • You can define functions and use them in your configuration
  • Easy to read and write by humans
  • Easy to parse and generate by machines
  • Based on a widely used standard
  • Easy to migrate to

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

Apache License V2.0

Follow TySON

TySON Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TySON!

Additional Project Details

Programming Language

Go

Related Categories

Go JSON Software

Registered

2023-10-27