Class OciResponseParser

    • Constructor Detail

      • OciResponseParser

        protected OciResponseParser()
        Deprecated, for removal: This API element is subject to removal in a future version.
        New instance.
    • Method Detail

      • getInstant

        protected Instant getInstant​(JsonObject json,
                                     String name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get instant from JSON using a parser that understands OCI date time format.
        Parameters:
        json - JSON object
        name - property of the object
        Returns:
        instant parsed from the string value of the property
      • toInstant

        protected Optional<Instant> toInstant​(JsonObject json,
                                              String name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get instant from JSON using a parser that understands OCI date time format.
        Parameters:
        json - JSON object
        name - property of the object
        Returns:
        instant parsed from the string value of the property, or empty if not present or null