Is there a way to parse unstructured data?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • jsonparser

    One of the fastest alternative JSON parser for Go that does not require schema

  • Best I've found is this: https://github.com/buger/jsonparser

  • GJSON

    Get JSON values quickly - JSON parser for Go

  • That’s because Go is a statically typed language. If you want to easily access the data, you need to know the structure, if you don’t know the structure, then you’re going to have to jump through hoops to get at the data. I would probably try using https://github.com/tidwall/gjson if I were you.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • marshmallow

    Marshmallow provides a flexible and performant JSON unmarshalling in Go. It specializes in dealing with unstructured struct - when some fields are known and some aren't, with zero performance overhead nor extra coding needed. (by PerimeterX)

  • Try out https://github.com/PerimeterX/marshmallow

  • gabs

    For parsing, creating and editing unknown or dynamic JSON in Go

  • This might be of interest: https://github.com/Jeffail/gabs

  • fastjson

    Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection (by valyala)

  • Yet another recommendation: https://github.com/valyala/fastjson

  • json

    A simple dynamic JSON parser. (by mcvoid)

  • I wrote one up real quick for you.

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