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
Copy file name to clipboardExpand all lines: spec/src/main/asciidoc/jsonb.adoc
+13-24Lines changed: 13 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -1,42 +1,33 @@
1
1
:sectnums:
2
2
= Jakarta JSON Binding Specification, Version 1.0
3
3
4
-
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.
5
-
6
-
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
4
+
Copyright (c) 2019 Eclipse Foundation
7
5
8
6
== Introduction
9
7
10
8
This specification defines binding API between Java objects and https://tools.ietf.org/html/rfc7159[JSON] documents. Readers are assumed to be familiar with JSON; for more information about JSON, see:
11
9
12
10
* https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf[Architectural Styles and the Design of Network-based Software Architectures]
* http://en.wikipedia.org/wiki/JSON[JSON on Wikipedia]
15
12
16
13
=== Status
17
14
18
15
A list of open issues can be found at:
19
16
20
17
____
21
-
https://github.com/javaee/jsonb-spec/issues
18
+
https://github.com/eclipse-ee4j/jsonb-api/issues
22
19
____
23
20
24
21
The corresponding source code can be found online at:
25
22
26
23
____
27
-
https://github.com/javaee/jsonb-spec
28
-
____
29
-
30
-
The reference implementation is obtainable from:
31
-
32
-
____
33
-
https://projects.eclipse.org/projects/rt.yasson
24
+
https://github.com/eclipse-ee4j/jsonb-api
34
25
____
35
26
36
-
The expert group is seeking feedback from the community on any aspect of this specification. Please join our discussion groups at:
27
+
The committer group is seeking feedback from the community on any aspect of this specification. Please join our discussion groups at:
37
28
38
29
____
39
-
https://javaee.groups.io/g/jsonb-spec
30
+
https://gitter.im/eclipse/jsonb
40
31
____
41
32
42
33
=== Goals
@@ -48,7 +39,7 @@ Support binding (serialization and deserialization) for all RFC 7159-compatible
48
39
* *Relationships to JSON Related specifications* +
49
40
JSON-related specifications will be surveyed to determine their relationship to JSON-Binding.
50
41
* *Consistency* +
51
-
Maintain consistency with JAXB (Java API for XML Binding) and other Java EE and SE APIs where appropriate.
42
+
Maintain consistency with JAXB (Java API for XML Binding) and other Jakarta EE and Java SE APIs where appropriate.
52
43
* *Convention* +
53
44
Define default mapping of Java classes and instances to JSON document counterparts.
54
45
* *Customization* +
@@ -58,7 +49,7 @@ Default use of the APIs should not require prior knowledge of the JSON document
58
49
* *Partial Mapping* +
59
50
In many use cases, only a subset of JSON Document is required to be mapped to a Java object instance.
60
51
* *Integration* +
61
-
Define or enable integration with JSR 374: Java API for JSON Processing (JSON-P) 1.1.
52
+
Define or enable integration with Jakarta JSON Processing (JSON-P) 1.1.
62
53
63
54
=== Non-Goals
64
55
@@ -106,9 +97,9 @@ Process of reading a JSON document and constructing a tree of content objects, w
106
97
*Serialization* +
107
98
Inverse process to deserialization. Process of traversing content object tree and writing a JSON document that reflects the tree’s content.
108
99
109
-
=== Expert Group Members
100
+
=== Acknowledgements
110
101
111
-
This specification is being developed as part of JSR 367 under the Java Community Process. It is the result of the collaborative work of the members of the JSR 367 Expert Group. The following are the present expert group members:
102
+
This specification was originally developed as part of JSR 367 under the Java Community Process. It was the result of the collaborative work of the members of the JSR 367 Expert Group. The following were the expert group members:
112
103
113
104
* Dmitry Kornilov (Oracle)
114
105
* Roman Grigoriadi (Oracle)
@@ -125,11 +116,9 @@ This specification is being developed as part of JSR 367 under the Java Communit
125
116
* Alexander Salvanos (Individual Member)
126
117
* Romain Manni-Bucau (Tomitribe)
127
118
128
-
=== Acknowledgements
129
-
130
-
During the course of this JSR we received many excellent suggestions. Special thanks to Heather VanCura, David Delabassee and Reza Rahman for feedback and help with evangelizing the specification, and John Clingan for feedback and language corrections.
119
+
During the course of JSR 367 we received many excellent suggestions. Special thanks to Heather VanCura, David Delabassee and Reza Rahman for feedback and help with evangelizing the specification, and John Clingan for feedback and language corrections.
131
120
132
-
During the course of this JSR we also received many excellent suggestions. Thanks in particular to Mark Struberg, Olena Syrota, Oleg Tsal-Tsalko and whole JUG UA for their contributions.
121
+
During the course of JSR 367 we also received many excellent suggestions. Thanks in particular to Mark Struberg, Olena Syrota, Oleg Tsal-Tsalko and whole JUG UA for their contributions.
133
122
134
123
== Runtime API
135
124
@@ -766,8 +755,8 @@ The way to set custom binary data handling strategy is to use `javax.json.bind.J
766
755
* Section 3.17.1: Sample fixed.
767
756
* Section 4.4: Method name is changed from `JsonbConfig::withStrictIJSONSerializationCompliance` to `JsonbConfig::withStrictIJSON`. Config property name is changed from `jsonb.i-json.strict-ser-compliance` to `jsonb.strict-ijson`.
768
757
* Sections 4.7.1 and 4.7.2: Added CDI support.
769
-
* Section 4.8: Added a paragrath explicitly explaining the use case when `JsonbDateFormat` annotation is placed on getter or setter.
770
-
* Section 4.9: Added a paragrath explicitly explaining the use case when `JsonbNumberFormat` annotation is placed on getter or setter.
758
+
* Section 4.8: Added a paragraph explicitly explaining the use case when `JsonbDateFormat` annotation is placed on getter or setter.
759
+
* Section 4.9: Added a paragraph explicitly explaining the use case when `JsonbNumberFormat` annotation is placed on getter or setter.
771
760
* Section 4.5: `JsonbProperty` on parameters is required for proper mapping. If not present mapping is is done by matching names, but is not guaranteed. Clarified condition when exception is raised.
772
761
* Section 4.1.1: Clarified conditions when exceptions are throwed.
773
762
* Section 4.4: Clarified that strict I_JSON compliance affects only default mapping mechanism.
0 commit comments