openhab-addons/bundles/org.openhab.transform.bin2json
J-N-K 31a20dc249
Apply spotless and fix itests (#10000)
* apply spotless
* fix itests

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
2021-01-31 20:31:41 +01:00
..
src/main Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
.classpath Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
.project Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
NOTICE Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00
pom.xml Apply spotless and fix itests (#10000) 2021-01-31 20:31:41 +01:00
README.md Codebase as of f11ddbc2a3 as an initial commit for the shrunk repo 2020-09-20 23:52:13 +02:00

Binary To JSON Transformation Service

Transforms the input by Java Binary Block Parser syntax.

See details about syntax from JBBP homepage

Example

Let's assume we have received string containing bytes in hexa string format 03FAFF and we want to convert binary data to JSON format. Binary data contains 3 bytes and strict data format is following byte a; byte b; ubyte c;.

Binary to JSON converter will return following result {"a":3,"b":-6,"c":255}

Usage as a Profile

Profiles are not supported by this transformation.