com.fasterxml.jackson.core.JsonGenerationException: Current context not Array but Object

GitHub | szaccaria | 4 months ago
  1. 0

    GitHub comment 19#250904810

    GitHub | 4 months ago | szaccaria
    com.fasterxml.jackson.core.JsonGenerationException: Current context not Array but Object
  2. 0

    Combination of JsonUnwrapped and JsonTypeInfo(include=As.WRAPPER_OBJECT) fails

    GitHub | 4 years ago | pgelinas
    com.fasterxml.jackson.core.JsonGenerationException: Can not start an object, expecting field name
  3. 0

    @JsonTypeInfo (de)serialization fails for polymorphic array types and external property

    GitHub | 2 years ago | dashorst
    com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 21872#263716278

    GitHub | 2 months ago | jasontedor
    com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value
  6. 0

    How to Serialize Map<String,String> to an Array of Key:Values

    Stack Overflow | 1 month ago | Brian Harman
    com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.fasterxml.jackson.core.JsonGenerationException

      Current context not Array but Object

      at com.fasterxml.jackson.core.JsonGenerator._reportError()
    2. Jackson-core
      WriterBasedJsonGenerator.writeEndArray
      1. com.fasterxml.jackson.core.JsonGenerator._reportError(JsonGenerator.java:1897)
      2. com.fasterxml.jackson.core.json.WriterBasedJsonGenerator.writeEndArray(WriterBasedJsonGenerator.java:233)
      2 frames
    3. Jackson
      ObjectWriter.writeValueAsString
      1. com.fasterxml.jackson.databind.ser.std.ObjectArraySerializer.serialize(ObjectArraySerializer.java:217)
      2. com.fasterxml.jackson.databind.ser.std.ObjectArraySerializer.serialize(ObjectArraySerializer.java:26)
      3. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:292)
      4. com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1419)
      5. com.fasterxml.jackson.databind.ObjectWriter._configAndWriteValue(ObjectWriter.java:1147)
      6. com.fasterxml.jackson.databind.ObjectWriter.writeValueAsString(ObjectWriter.java:1020)
      6 frames
    4. com.cesaco.jackson
      Test.main
      1. com.cesaco.jackson.Test.main(Test.java:25)
      1 frame