test_class.declarator: testObjectString
test_class.modifier: @Parameterized.Parameter
      public
test_class.original_string: @Parameterized.Parameter
      public String testObjectString;
test_class.type: String
test_class.var_name: testObjectString
test_class.declarator: testValue
test_class.modifier: private
test_class.original_string: private JsonValue testValue;
test_class.type: JsonValue
test_class.var_name: testValue
test_class.declarator: testBytes
test_class.modifier: private
test_class.original_string: private byte[] testBytes;
test_class.type: byte[]
test_class.var_name: testBytes
test_class.declarator: cborFactory
test_class.modifier: private
test_class.original_string: private JacksonCborFactory cborFactory;
test_class.type: JacksonCborFactory
test_class.var_name: cborFactory
test_class.file: json-cbor/src/test/java/org/eclipse/ditto/json/cbor/JacksonCborFactoryTest.java
test_class.identifier: JacksonCborFactoryTest
test_case.body: @Test
      public void writeToByteBufferWorks() throws IOException {
          final ByteBuffer allocate = ByteBuffer.allocate(512);
          cborFactory.writeToByteBuffer(testValue, allocate);
          allocate.flip();
          assertThat(BinaryToHexConverter.toHexString(allocate)).isEqualTo(CborTestUtils.serializeToHexString(testValue));
      }
test_case.class_method_signature: JacksonCborFactoryTest.writeToByteBufferWorks()
test_case.full_signature: @Test public void writeToByteBufferWorks()
test_case.identifier: writeToByteBufferWorks
test_case.invocations: allocate writeToByteBuffer flip isEqualTo assertThat toHexString serializeToHexString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void writeToByteBufferWorks()
focal_class.declarator: JACKSON_CBOR_FACTORY = new CBORFactory()
focal_class.modifier: private static final
focal_class.original_string: private static final CBORFactory JACKSON_CBOR_FACTORY = new CBORFactory();
focal_class.type: CBORFactory
focal_class.var_name: JACKSON_CBOR_FACTORY
focal_class.file: json-cbor/src/main/java/org/eclipse/ditto/json/cbor/JacksonCborFactory.java
focal_class.identifier: JacksonCborFactory
focal_class.interfaces: implements CborFactory
focal_class.class_method_signature: JacksonCborFactory.JacksonCborFactory()
focal_class.full_signature: public  JacksonCborFactory()
focal_class.identifier: JacksonCborFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  JacksonCborFactory()
focal_class.class_method_signature: JacksonCborFactory.isCborAvailable()
focal_class.full_signature: @Override public boolean isCborAvailable()
focal_class.identifier: isCborAvailable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isCborAvailable()
focal_class.class_method_signature: JacksonCborFactory.readFrom(final byte[] bytes)
focal_class.full_signature: @Override public JsonValue readFrom(final byte[] bytes)
focal_class.identifier: readFrom
focal_class.modifiers: @Override public
focal_class.parameters: (final byte[] bytes)
focal_class.return: JsonValue
focal_class.signature: JsonValue readFrom(final byte[] bytes)
focal_class.class_method_signature: JacksonCborFactory.readFrom(final byte[] bytes, final int offset, final int length)
focal_class.full_signature: @Override public JsonValue readFrom(final byte[] bytes, final int offset, final int length)
focal_class.identifier: readFrom
focal_class.modifiers: @Override public
focal_class.parameters: (final byte[] bytes, final int offset, final int length)
focal_class.return: JsonValue
focal_class.signature: JsonValue readFrom(final byte[] bytes, final int offset, final int length)
focal_class.class_method_signature: JacksonCborFactory.readFrom(final ByteBuffer byteBuffer)
focal_class.full_signature: @Override public JsonValue readFrom(final ByteBuffer byteBuffer)
focal_class.identifier: readFrom
focal_class.modifiers: @Override public
focal_class.parameters: (final ByteBuffer byteBuffer)
focal_class.return: JsonValue
focal_class.signature: JsonValue readFrom(final ByteBuffer byteBuffer)
focal_class.class_method_signature: JacksonCborFactory.toByteArray(final JsonValue jsonValue)
focal_class.full_signature: @Override public byte[] toByteArray(final JsonValue jsonValue)
focal_class.identifier: toByteArray
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue jsonValue)
focal_class.return: byte[]
focal_class.signature: byte[] toByteArray(final JsonValue jsonValue)
focal_class.class_method_signature: JacksonCborFactory.toByteBuffer(final JsonValue jsonValue)
focal_class.full_signature: @Override public ByteBuffer toByteBuffer(final JsonValue jsonValue)
focal_class.identifier: toByteBuffer
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue jsonValue)
focal_class.return: ByteBuffer
focal_class.signature: ByteBuffer toByteBuffer(final JsonValue jsonValue)
focal_class.class_method_signature: JacksonCborFactory.writeToByteBuffer(final JsonValue jsonValue, final ByteBuffer byteBuffer)
focal_class.full_signature: @Override public void writeToByteBuffer(final JsonValue jsonValue, final ByteBuffer byteBuffer)
focal_class.identifier: writeToByteBuffer
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonValue jsonValue, final ByteBuffer byteBuffer)
focal_class.return: void
focal_class.signature: void writeToByteBuffer(final JsonValue jsonValue, final ByteBuffer byteBuffer)
focal_class.class_method_signature: JacksonCborFactory.createCborRepresentation(final Map<String, JsonField> jsonFieldMap, final int guessedSerializedSize)
focal_class.full_signature: @Override public byte[] createCborRepresentation(final Map<String, JsonField> jsonFieldMap, final int guessedSerializedSize)
focal_class.identifier: createCborRepresentation
focal_class.modifiers: @Override public
focal_class.parameters: (final Map<String, JsonField> jsonFieldMap, final int guessedSerializedSize)
focal_class.return: byte[]
focal_class.signature: byte[] createCborRepresentation(final Map<String, JsonField> jsonFieldMap, final int guessedSerializedSize)
focal_class.class_method_signature: JacksonCborFactory.createCborRepresentation(final List<JsonValue> list, final int guessedSerializedSize)
focal_class.full_signature: @Override public byte[] createCborRepresentation(final List<JsonValue> list, final int guessedSerializedSize)
focal_class.identifier: createCborRepresentation
focal_class.modifiers: @Override public
focal_class.parameters: (final List<JsonValue> list, final int guessedSerializedSize)
focal_class.return: byte[]
focal_class.signature: byte[] createCborRepresentation(final List<JsonValue> list, final int guessedSerializedSize)
focal_class.class_method_signature: JacksonCborFactory.writeStartObjectWithLength(final JacksonSerializationContext serializationContext, int length)
focal_class.full_signature: private static void writeStartObjectWithLength(final JacksonSerializationContext serializationContext, int length)
focal_class.identifier: writeStartObjectWithLength
focal_class.modifiers: private static
focal_class.parameters: (final JacksonSerializationContext serializationContext, int length)
focal_class.return: void
focal_class.signature: void writeStartObjectWithLength(final JacksonSerializationContext serializationContext, int length)
focal_class.class_method_signature: JacksonCborFactory.createJsonParseException(final ByteBuffer byteBuffer, final Exception e)
focal_class.full_signature: private static JsonParseException createJsonParseException(final ByteBuffer byteBuffer, final Exception e)
focal_class.identifier: createJsonParseException
focal_class.modifiers: private static
focal_class.parameters: (final ByteBuffer byteBuffer, final Exception e)
focal_class.return: JsonParseException
focal_class.signature: JsonParseException createJsonParseException(final ByteBuffer byteBuffer, final Exception e)
focal_class.class_method_signature: JacksonCborFactory.writeToOutputStream(final JsonValue jsonValue, final OutputStream outputStream)
focal_class.full_signature: private static void writeToOutputStream(final JsonValue jsonValue, final OutputStream outputStream)
focal_class.identifier: writeToOutputStream
focal_class.modifiers: private static
focal_class.parameters: (final JsonValue jsonValue, final OutputStream outputStream)
focal_class.return: void
focal_class.signature: void writeToOutputStream(final JsonValue jsonValue, final OutputStream outputStream)
focal_class.class_method_signature: JacksonCborFactory.parseValue(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.full_signature: private static JsonValue parseValue(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.identifier: parseValue
focal_class.modifiers: private static
focal_class.parameters: (final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.return: JsonValue
focal_class.signature: JsonValue parseValue(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.class_method_signature: JacksonCborFactory.parseValue(final CBORParser parser, final ByteBuffer byteBuffer,
              @Nullable final JsonToken currentToken)
focal_class.full_signature: private static JsonValue parseValue(final CBORParser parser, final ByteBuffer byteBuffer,
              @Nullable final JsonToken currentToken)
focal_class.identifier: parseValue
focal_class.modifiers: private static
focal_class.parameters: (final CBORParser parser, final ByteBuffer byteBuffer,
              @Nullable final JsonToken currentToken)
focal_class.return: JsonValue
focal_class.signature: JsonValue parseValue(final CBORParser parser, final ByteBuffer byteBuffer,
              @Nullable final JsonToken currentToken)
focal_class.class_method_signature: JacksonCborFactory.parseObject(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.full_signature: private static JsonObject parseObject(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.identifier: parseObject
focal_class.modifiers: private static
focal_class.parameters: (final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.return: JsonObject
focal_class.signature: JsonObject parseObject(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.class_method_signature: JacksonCborFactory.parseArray(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.full_signature: private static JsonArray parseArray(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.identifier: parseArray
focal_class.modifiers: private static
focal_class.parameters: (final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.return: JsonArray
focal_class.signature: JsonArray parseArray(final CBORParser parser, final ByteBuffer byteBuffer)
focal_class.class_method_signature: JacksonCborFactory.getBytesFromInputSource(final long startOffset, final long endOffset,
              final ByteBuffer byteBuffer)
focal_class.full_signature: private static byte[] getBytesFromInputSource(final long startOffset, final long endOffset,
              final ByteBuffer byteBuffer)
focal_class.identifier: getBytesFromInputSource
focal_class.modifiers: private static
focal_class.parameters: (final long startOffset, final long endOffset,
              final ByteBuffer byteBuffer)
focal_class.return: byte[]
focal_class.signature: byte[] getBytesFromInputSource(final long startOffset, final long endOffset,
              final ByteBuffer byteBuffer)
focal_class.class_method_signature: JacksonCborFactory.getIntegerOrLong(final long longValue)
focal_class.full_signature: private static JsonNumber getIntegerOrLong(final long longValue)
focal_class.identifier: getIntegerOrLong
focal_class.modifiers: private static
focal_class.parameters: (final long longValue)
focal_class.return: JsonNumber
focal_class.signature: JsonNumber getIntegerOrLong(final long longValue)
focal_method.body: @Override
      public void writeToByteBuffer(final JsonValue jsonValue, final ByteBuffer byteBuffer) throws IOException {
          final ByteBufferOutputStream byteBufferOutputStream = new ByteBufferOutputStream(byteBuffer);
          writeToOutputStream(jsonValue, byteBufferOutputStream);
      }
focal_method.class_method_signature: JacksonCborFactory.writeToByteBuffer(final JsonValue jsonValue, final ByteBuffer byteBuffer)
focal_method.full_signature: @Override public void writeToByteBuffer(final JsonValue jsonValue, final ByteBuffer byteBuffer)
focal_method.identifier: writeToByteBuffer
focal_method.invocations: writeToOutputStream
focal_method.modifiers: @Override public
focal_method.parameters: (final JsonValue jsonValue, final ByteBuffer byteBuffer)
focal_method.return: void
focal_method.signature: void writeToByteBuffer(final JsonValue jsonValue, final ByteBuffer byteBuffer)