Comments (4)
I'm one of the two original authors, @shwoodard being the other.
We originally open sourced this out the Works With Nest program sometime in 2015. We had built an Ember.js frontend app that communicated with a Golang REST API (you can find the site on the internet archives). At the time there weren't any JSON API implementations for golang, so we wrote out own library and open sourced it hoping to provide value back to others looking to do the same.
Fast forward 5 years and the app has been discontinued (sometime in late 2019). @shwoodard and I both don't work on this project anymore. In our new roles we also don't actively use this library in our codebases (we live in a protobuf world at Google), and as such we have neglected it. For that I'm sorry (I guess that's the Canadian in me coming out).
With that being said, this lib still works - even with current Go versions. As the MIT license states, you are free to modify, fork and improve it to your liking (or rethink, reimagine and rewrite it entirely like @mfcochauxlaberge has gone and done - props btw). I'm sure there are also many other JSON API alternatives now, I'm hopeful that this codebase may be of value to you, if you do decide to use it.
from jsonapi.
If I may shamelessly plug my own implementation, here it is: mfcochauxlaberge/jsonapi (if not, feel free to delete my comment). I was frustrated by the lack of good and maintained JSON:API implementations in Go and decided to make my own.
Pros:
- Active development since 2017 and still going
- A lot of features!
- Well tested
Cons:
- Very different approach from what this project and other projects do. Definitely not a drop-in replacement. If you use it in an already existing project, you will likely have to refactor.
- Needs a little bit of polishing
- No v1.0.0 yet (coming soon)
I want people to use the project and get feedback before I feel confident on committing to a stable API.
from jsonapi.
Fellas, I think it is worth a trouble to add something about the state of the project to a README.
from jsonapi.
Fellas, I think it is worth a trouble to add something about the state of the project to a README.
Done, there's a "No Maintenance Intended" badge on the Readme now.
from jsonapi.
Related Issues (20)
- Type validation on post is skipped
- Support for partial inclusion of relationships
- Asymmetrical behavior with json.RawMessage-type fields
- Unmarshall array of object in attribute HOT 1
- map inside struct unmarshalling HOT 2
- Export clearIncluded HOT 1
- got the wrong id when unmarshel a stract with an Int64 id HOT 1
- Is this project active? HOT 4
- Polymorphic relationships HOT 1
- Skipping an element in an array due to unmatched type
- Does example in README have a typo? HOT 1
- int64 id value changed while decoding HOT 12
- Marshal nested object does not work
- data is not a jsonapi representation of *type HOT 2
- Support for Unmarshalling Slices of floats/ints/bools
- Empty relation atrributes HOT 1
- adding meta at time of encoding
- jsonapi.MarshalPayload sets response status to 200, but I want 201 (created) HOT 1
- The wiki shows some weird 'hack' text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonapi.