More efficient way of unmarshalling generic json object?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/golang

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • talent.io - Download talent.io’s Tech Salary Report
  • Scout APM - Less time debugging, more time building
  • Socket.io

    Realtime application framework (Node.JS server)

    I had a look at Socker.IO as the API was more what I was after (has an event handler style API) but the Go implantation seems to be outdated (plus requires the Client to use their own API which I find clunky).

  • JSON-to-Go

    Translates JSON into a Go type in your browser instantly (original)

    You go to https://mholt.github.io/json-to-go/. You paste your raw JSON. You get a type safe deserialization schema that works out of the box with the standard library. For every other language you have to install some tool to work with schemas and even then a lot of the time it has to be a JSON Schema which means first you have to convert the raw JSON into a schema since the API doesn’t provide it. Go is just easier and more robust.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts