Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • GetDatabaseItem returns the resource object in serialized JSON (i.e., stringified JSON) whereas GetObject returns a handle to the JSON object.
  • GetDatabaseItem automatically updates the HTTP response Body with the resource object and the Content-Type Header whereas GetObject leaves this to the calling process to handle.
  • GetDatabaseItem will create self and collection HATEOAS links in the resource object if the optional SelfURL argument is used whereas GetObject only creates a self HATEOAS link.
  • GetDatabaseItem does not do any error checking before it updates the HTTP response Body and the Content-Type Header where as  whereas GetObject performs a lot of error checking.

...