From 6c94eec829766c5f155305529fb7ea4da431853e Mon Sep 17 00:00:00 2001 From: KIMB-technologies Date: Wed, 19 Sep 2018 15:35:12 +0200 Subject: [PATCH] Update README.md --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/README.md b/README.md index b04571d..655732e 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,48 @@ All USF-Data-Types are subclasses of the main USF-Data-Type called `Atom`. - MapList - combining multiple Key-Value pairs +## USF Format +The normal USF Format is a one-line string, which contains all the data. +``` +[true,[false,100,20,-12,{\"test\":{\"a\":false}},{{:}:{[true,true]:-12}}],=1.0=,=-11.02=] +``` +For debugging and other cases one can use the human friendly output. +(Method `toHumFrieUSF()` instead of `toUSF()` and `parseHumFrie()` instead of `parse()`) + +``` +[ + true, + [ + false, + 100, + 20, + -12, + { + "test" + : + { + "a" + : + false + } + }, + { + {:} + : + { + [ + true, + true + ] + : + -12 + } + } + ], + =1.0=, + =-11.02= +] +``` + +