Is there a way to parse unstructured data?

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

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • 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

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • 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