test_class.file: bundles/org.openhab.core.io.bin2json/src/test/java/org/openhab/core/io/bin2json/Bin2JsonTest.java
test_class.identifier: Bin2JsonTest
test_case.body: @Test
      public void testByteArrayDataError() throws ConversionException {
          assertThrows(ConversionException.class,
                  () -> new Bin2Json("byte a; byte b; ubyte c;").convert(new byte[] { 3, 34 }));
      }
test_case.class_method_signature: Bin2JsonTest.testByteArrayDataError()
test_case.full_signature: @Test public void testByteArrayDataError()
test_case.identifier: testByteArrayDataError
test_case.invocations: assertThrows convert
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testByteArrayDataError()
focal_class.declarator: logger = LoggerFactory.getLogger(Bin2Json.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger logger = LoggerFactory.getLogger(Bin2Json.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: parser
focal_class.modifier: private final
focal_class.original_string: private final JBBPParser parser;
focal_class.type: JBBPParser
focal_class.var_name: parser
focal_class.file: bundles/org.openhab.core.io.bin2json/src/main/java/org/openhab/core/io/bin2json/Bin2Json.java
focal_class.identifier: Bin2Json
focal_class.class_method_signature: Bin2Json.Bin2Json(String parserRule)
focal_class.full_signature: public  Bin2Json(String parserRule)
focal_class.identifier: Bin2Json
focal_class.modifiers: public
focal_class.parameters: (String parserRule)
focal_class.signature:  Bin2Json(String parserRule)
focal_class.class_method_signature: Bin2Json.convert(String hexString)
focal_class.full_signature: public JsonObject convert(String hexString)
focal_class.identifier: convert
focal_class.modifiers: public
focal_class.parameters: (String hexString)
focal_class.return: JsonObject
focal_class.signature: JsonObject convert(String hexString)
focal_class.class_method_signature: Bin2Json.convert(byte[] data)
focal_class.full_signature: public JsonObject convert(byte[] data)
focal_class.identifier: convert
focal_class.modifiers: public
focal_class.parameters: (byte[] data)
focal_class.return: JsonObject
focal_class.signature: JsonObject convert(byte[] data)
focal_class.class_method_signature: Bin2Json.convert(InputStream inputStream)
focal_class.full_signature: public JsonObject convert(InputStream inputStream)
focal_class.identifier: convert
focal_class.modifiers: public
focal_class.parameters: (InputStream inputStream)
focal_class.return: JsonObject
focal_class.signature: JsonObject convert(InputStream inputStream)
focal_class.class_method_signature: Bin2Json.convert(JBBPFieldStruct data)
focal_class.full_signature: private JsonObject convert(JBBPFieldStruct data)
focal_class.identifier: convert
focal_class.modifiers: private
focal_class.parameters: (JBBPFieldStruct data)
focal_class.return: JsonObject
focal_class.signature: JsonObject convert(JBBPFieldStruct data)
focal_class.class_method_signature: Bin2Json.convertToJSon(final JBBPAbstractField field)
focal_class.full_signature: private JsonObject convertToJSon(final JBBPAbstractField field)
focal_class.identifier: convertToJSon
focal_class.modifiers: private
focal_class.parameters: (final JBBPAbstractField field)
focal_class.return: JsonObject
focal_class.signature: JsonObject convertToJSon(final JBBPAbstractField field)
focal_class.class_method_signature: Bin2Json.convertToJSon(@Nullable final JsonObject json, final JBBPAbstractField field)
focal_class.full_signature: private JsonObject convertToJSon(@Nullable final JsonObject json, final JBBPAbstractField field)
focal_class.identifier: convertToJSon
focal_class.modifiers: private
focal_class.parameters: (@Nullable final JsonObject json, final JBBPAbstractField field)
focal_class.return: JsonObject
focal_class.signature: JsonObject convertToJSon(@Nullable final JsonObject json, final JBBPAbstractField field)
focal_method.body: public JsonObject convert(String hexString) throws ConversionException {
          try {
              return convert(HexUtils.hexToBytes(hexString));
          } catch (IllegalArgumentException e) {
              throw new ConversionException(String.format("Illegal hexstring , reason: %s", e.getMessage(), e));
          }
      }
focal_method.class_method_signature: Bin2Json.convert(String hexString)
focal_method.full_signature: public JsonObject convert(String hexString)
focal_method.identifier: convert
focal_method.invocations: convert hexToBytes format getMessage
focal_method.modifiers: public
focal_method.parameters: (String hexString)
focal_method.return: JsonObject
focal_method.signature: JsonObject convert(String hexString)