File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
src/main/java/org/eclipse/yasson/internal/jsonstructure Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,11 @@ public BigDecimal getBigDecimal() {
103103 return getJsonNumberValue ().bigDecimalValue ();
104104 }
105105
106+ @ Override
107+ public JsonValue getValue () {
108+ return iterators .peek ().getValue ();
109+ }
110+
106111 @ Override
107112 public JsonObject getObject () {
108113 JsonStructureIterator current = iterators .peek ();
@@ -115,6 +120,11 @@ public JsonObject getObject() {
115120 }
116121 }
117122
123+ @ Override
124+ public JsonArray getArray () {
125+ throw new UnsupportedOperationException ();
126+ }
127+
118128 private JsonNumber getJsonNumberValue () {
119129 JsonStructureIterator iterator = iterators .peek ();
120130 JsonValue value = iterator .getValue ();
@@ -123,7 +133,7 @@ private JsonNumber getJsonNumberValue() {
123133 }
124134 return (JsonNumber ) value ;
125135 }
126-
136+
127137 @ Override
128138 public JsonLocation getLocation () {
129139 throw new JsonbException ("Operation not supported" );
You can’t perform that action at this time.
0 commit comments