Skip to content

Null pointers in parseDatum method #1

Description

@andykwoods

Hi,

I am getting a null pointer exception in the above method as you are expecting optional members.
This is particularly happening to me for "links".

 // optional top-level member: links
        // a links object containing links related to the resource.
        JsonObject links = datum.get("links").asObject();

datum.get("links") returns null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions