What is the best solution to unique data in golang

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

  • I think you have to parse the json, if you dont know exactly what you are looking for and want some validation und prevent manual parsing errors. For parsing big json files it is recommend to read and decode it as stream. Here is an example. If you have serious performance criteria take a look at jsoniter. It can be used as 1 to 1 replacement for standard library.

  • go-sqlite3

    sqlite3 driver for go using database/sql

  • Once in sqlite you can use something like https://gorm.io/ (or use a golang sqlite package like: github.com/mattn/go-sqlite3) to work with the data.

  • 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
  • GORM

    The fantastic ORM library for Golang, aims to be developer friendly

  • Once in sqlite you can use something like https://gorm.io/ (or use a golang sqlite package like: github.com/mattn/go-sqlite3) to work with the data.

  • dasel

    Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

  • Or try dasel, which is like jq but written in Go, and if it works, look at the source to see how they do it :-)

  • jstream

    Streaming JSON parser for Go

  • I suggest to use a streaming library to parse your file. Like jstream or simdjson-go

  • simdjson-go

    Golang port of simdjson: parsing gigabytes of JSON per second

  • I suggest to use a streaming library to parse your file. Like jstream or simdjson-go

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

  • Introducing astjson: Transform and Merge JSON Objects with Unmatched Speed in Go

    3 projects | dev.to | 29 Nov 2023
  • Building a high performance JSON parser

    19 projects | news.ycombinator.com | 5 Nov 2023
  • A Journey building a fast JSON parser and full JSONPath

    5 projects | news.ycombinator.com | 11 Oct 2023
  • Modification of json string without deserialisation into map/struct

    3 projects | /r/golang | 5 Jun 2023
  • Object-oriented JSON in Go

    2 projects | /r/golang | 12 Apr 2023