openhab-addons/bundles/org.openhab.transform.bin2json
Holger Friedrich 639a1cb263
Prepare for OH 5.0.0 (#17906)
* Switch to 5.0.0-SNAPSHOT
* Fix spotless after unleash
* resolve itest runbundles

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-15 20:30:05 +01:00
..
src/main Update license headers to 2024 (#16168) 2024-01-01 18:14:57 +01:00
NOTICE
pom.xml Prepare for OH 5.0.0 (#17906) 2024-12-15 20:30:05 +01:00
README.md Multiple binding markdown fixes (#17422) 2024-09-28 17:46:53 +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.