MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / remove

Method remove

src/main/java/com/amazon/ion/IonStruct.java:247–247  ·  view source on GitHub ↗

Removes a field by name, returning a value that was previously associated with the field, or null if this struct contained no such field. Because Ion structs may have repeated fields, additional fields with the given name may still exist after this method returns. If this struct is a

(String fieldName)

Source from the content-addressed store, hash-verified

245 * {@code null} if there was no such field.
246 */
247 public IonValue remove(String fieldName);
248
249
250 /**

Implementers 1

IonStructLitesrc/main/java/com/amazon/ion/impl/lite

Calls

no outgoing calls