-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
3.0Issue planned for initial 3.0 releaseIssue planned for initial 3.0 release3.0-release-notesIssues relevant for 3.0 release notes.Issues relevant for 3.0 release notes.
Description
As per JSTEP-3 (and related to JSTEP-6) we want to unify naming of types and accessors: Jackson 2.x uses "Text" instead of "String" (unlike everything else in Jackson 2.x API), so with 3.0 we can fix the discrepancy.
So we will:
- Rename
TextNode
asStringNode
(it is unlikely actual type often referred to in application code) - Rename
JsonNode
accessor methods to use "String" instead of "Text" in most cases; deprecated+add in others
What this specifically means is that we'll change:
asText()
/asText(String)
: deprecate, addasString()
/asString(String)
findValuesAsText()
: rename asfindValuesAsString()
isTextual()
: deprecate, addisString()
textValue()
: rename asstringValue()
Metadata
Metadata
Assignees
Labels
3.0Issue planned for initial 3.0 releaseIssue planned for initial 3.0 release3.0-release-notesIssues relevant for 3.0 release notes.Issues relevant for 3.0 release notes.