infinum / Japx

Lightweight parser for the complex JSON:API (http://jsonapi.org/) structure.
MIT License
153 stars 35 forks source link

Encode issue in objective-c code #55

Open Naveenkumar4screen opened 2 years ago

Naveenkumar4screen commented 2 years ago

Expected Behavior

while encoding "include" data that should be added inside the request body.

Actual Behavior

But if I gave a dictionary to encode it "include" data not coming.

Steps to Reproduce the Problem

  1. use objective-c code only for encoding and decoding from the JAPX folder.
  2. pass a dictionary to encode method there is no option to pass include list.
  3. That dictionary should have an array of dictionary data in the "relationship" part.

Request

Give me suggestions for how I can add the "included" part in my request body.

Specifications