Decode/Encode only Usage
Greetings! First of all, thanks for caring the community and making your library open source!
My question is, is there a way to use decoding/encoding functionality without using http request functions?
Since example code is not defining this future, i wanted to ask for help :)
Thanks!
hi @EmirBostanci. If I understand the question correctly, you want to use fromJson() and toJson() conversion methods on the document objects. What is your use case?
My use case is, i only want to flatten/normalize json:api spec like objects. I want to use my own network/request management structure, but looking for an implementation to convert json objects. like this Japx library does. @f3ath
Yes, in this case I'd expect the methods I mentioned above to fit your needs. Let me know if you find them (not) useful.
Can you please prepare documentation, example or tests about these methods and their usages? @f3ath Thanks for help!