test_class.file: fabric-manager/src/test/java/com/olacabs/fabric/manager/converter/JsonSetConverterTest.java
test_class.identifier: JsonSetConverterTest
test_case.body: @Test
      public void shouldConvertLongToEntityAttribute() {
          JsonSetConverter converter = new JsonSetConverter();
          Set set = converter.convertToEntityAttribute("[1,2]");
          assertEquals(set.size(), 2);
      }
test_case.class_method_signature: JsonSetConverterTest.shouldConvertLongToEntityAttribute()
test_case.full_signature: @Test public void shouldConvertLongToEntityAttribute()
test_case.identifier: shouldConvertLongToEntityAttribute
test_case.invocations: convertToEntityAttribute assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldConvertLongToEntityAttribute()
focal_class.declarator: serializer
focal_class.modifier: private final
focal_class.original_string: private final ObjectMapper serializer;
focal_class.type: ObjectMapper
focal_class.var_name: serializer
focal_class.file: fabric-manager/src/main/java/com/olacabs/fabric/manager/converter/JsonSetConverter.java
focal_class.identifier: JsonSetConverter
focal_class.interfaces: implements AttributeConverter<Set, String>
focal_class.class_method_signature: JsonSetConverter.JsonSetConverter()
focal_class.full_signature: public  JsonSetConverter()
focal_class.identifier: JsonSetConverter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  JsonSetConverter()
focal_class.class_method_signature: JsonSetConverter.JsonSetConverter(final ObjectMapper serializer)
focal_class.full_signature: public  JsonSetConverter(final ObjectMapper serializer)
focal_class.identifier: JsonSetConverter
focal_class.modifiers: public
focal_class.parameters: (final ObjectMapper serializer)
focal_class.signature:  JsonSetConverter(final ObjectMapper serializer)
focal_class.class_method_signature: JsonSetConverter.convertToDatabaseColumn(final Set value)
focal_class.full_signature: @Override public String convertToDatabaseColumn(final Set value)
focal_class.identifier: convertToDatabaseColumn
focal_class.modifiers: @Override public
focal_class.parameters: (final Set value)
focal_class.return: String
focal_class.signature: String convertToDatabaseColumn(final Set value)
focal_class.class_method_signature: JsonSetConverter.convertToEntityAttribute(final String value)
focal_class.full_signature: @Override public Set convertToEntityAttribute(final String value)
focal_class.identifier: convertToEntityAttribute
focal_class.modifiers: @Override public
focal_class.parameters: (final String value)
focal_class.return: Set
focal_class.signature: Set convertToEntityAttribute(final String value)
focal_method.body: @Override
      public Set convertToEntityAttribute(final String value) {
          try {
              if (value == null) {
                  return Collections.emptySet();
              }
              return serializer.readValue(value, Set.class);
          } catch (final IOException e) {
              log.error("Unable to parse value to Set - {}. Error - {}", value, e.getMessage(), e);
              throw new FabricManagerException(e);
          }
      }
focal_method.class_method_signature: JsonSetConverter.convertToEntityAttribute(final String value)
focal_method.full_signature: @Override public Set convertToEntityAttribute(final String value)
focal_method.identifier: convertToEntityAttribute
focal_method.invocations: emptySet readValue error getMessage
focal_method.modifiers: @Override public
focal_method.parameters: (final String value)
focal_method.return: Set
focal_method.signature: Set convertToEntityAttribute(final String value)