Skip to content

Skysplit/json-api-deserializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON API Deserializer

Build Status

Usage

const deserialize = require('json-api-deserializer');

const jsonApiData = {
  data: [
    {
      type: 'users',
      id: 1,
      attributes: {
        first_name: 'John',
        last_name: 'Doe'
      }
    }
  ]
};

deserialize(jsonApiData);
// Output:
// [
//   {
//     id: 1,
//     first_name: 'John',
//     last_name: 'Doe'
//   }
// ]

Features

  • Nested relationships
  • Circular dependencies

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published