You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One confusing aspect of naming in some parts of Jackson is reference to Object "fields": although there are a few alternatives (field, property, entry at least), we have mostly settled on "property" as the standard thing.
So with 3.0 let's try to unify JsonGenerator and JsonParser API (and supporting helpers types like context objects) to use "property" wherever "field" used to be used.
Changes include: (I'll try to add notes on all changes)
JsonToken: FIELD_NAME became PROPERTY_NAME (probably the biggest change externally)
JsonParser:
getCurrentName()->currentName()
nextFieldName()->nextName()
JsonGenerator:
writeFieldName() -> writeName()
All writeXxxField() became writeXxxProperty()
All writeXxxFieldStart() became writeXxxPropertyStart()
writeObject() changed to writePOJO() (since "object" here did NOT refer to JSON Object but to Java Object)