https://github.com/gnh1201/catsplit-format
Catsplit is data interaction format without rich or high-cost syntax parsers.
https://github.com/gnh1201/catsplit-format
data-format
Last synced: 16 days ago
JSON representation
Catsplit is data interaction format without rich or high-cost syntax parsers.
- Host: GitHub
- URL: https://github.com/gnh1201/catsplit-format
- Owner: gnh1201
- License: other
- Created: 2019-05-27T08:01:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T16:57:44.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T04:26:52.462Z (about 1 year ago)
- Topics: data-format
- Homepage: https://catswords.social/@catswords_oss
- Size: 142 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Catsplit
Catsplit is data interaction format without rich or high-cost syntax parsers.
## Background
We already use a common file format such as JSON or XML, but ANSI-like(e.g. ANSI/ISO SQL) data interaction formats are still required in the field. We propose a new format that is human-readable and capable of inter-converting to others.
## Example of Catsplit (our format)
```
('oh my error','http://sys.local','26','1','1')<=(Message,URL,Line,Column,Stack)
```
## Example of JSON
```
{"Message":"oh my error","URL":"http://sys.local","Line":"26","Column":"1","Stack:"1"}
```
## Example of XML
```
oh my error
http://sys.local
26
1
1
```
## MIME Type (Content-Type), E_MAGIC, Extension
```
('application/catsplit','CS','CSPT','cspt')<=(MIME,E_MAGIC,Extension,Header)
```
## Advanced examples
- See [ADVANCED.md](https://github.com/gnh1201/catsplit-format/blob/master/ADVANCED.md)
## Conversion to SQL `insert` statement
Catsplit:
```
('oh my error','http://sys.local','26','1','1')<=(Message,URL,Line,Column,Stack)
```
SQL `Insert`:
```
insert into dummy(Message,URL,Line,Column,Stack) values ('oh my error','http://sys.local','26','1','1')
```
## Contact us
* oss@catswords.re.kr
* ActivityPub [@catswords_oss@catswords.net](https://catswords.social/@catswords_oss)