# SilentJSON: не просто быстрый JSON-парсер для Go

DevFeed: [SilentJSON: не просто быстрый JSON-парсер для Go](<https://devfeed.tech/articles/silentjson-json-go-127963.md>)

Original publisher: [Read original article](<https://habr.com/ru/articles/1106600/>)

Author: ihar76

Published: 2026-11-11T11:48:03Z

Content type: article

Language: ru

Sources: [Tagir Valeev](<https://devfeed.tech/sources/tagir-valeev.md>)

Topics: [JSON](<https://devfeed.tech/topics/json.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [IO](<https://devfeed.tech/topics/io.md>), [encoding/json](<https://devfeed.tech/topics/encoding-json.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [encoding-json](<https://devfeed.tech/tags/encoding-json.md>), [etl](<https://devfeed.tech/tags/etl.md>), [go](<https://devfeed.tech/tags/go.md>), [goroutine](<https://devfeed.tech/tags/goroutine.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [highload](<https://devfeed.tech/tags/highload.md>), [http](<https://devfeed.tech/tags/http.md>), [io-reader](<https://devfeed.tech/tags/io-reader.md>), [json](<https://devfeed.tech/tags/json.md>), [mit](<https://devfeed.tech/tags/mit.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [tag-1d35577f1ac2](<https://devfeed.tech/tags/tag-1d35577f1ac2.md>), [tag-20fc9fec36f1](<https://devfeed.tech/tags/tag-20fc9fec36f1.md>), [tag-89e2bd634121](<https://devfeed.tech/tags/tag-89e2bd634121.md>), [tag-d411366850c0](<https://devfeed.tech/tags/tag-d411366850c0.md>), [tag-db5a2ccdff76](<https://devfeed.tech/tags/tag-db5a2ccdff76.md>), [tag-e0d0aa973aee](<https://devfeed.tech/tags/tag-e0d0aa973aee.md>)

## AI overview

SilentJSON focuses on processing JSON with fewer intermediate objects, while offering streaming and parallel options for different workloads. Its `RawMessage` preserves nested JSON as a fragment without decoding it into separate Go types, though the fragment is copied and application code remains responsible for business validation. `StreamDecoder` reads arrays from an `io.Reader` using a reusable structure; strings are copied because its internal buffer is reused. `NextRawBlock()` can split arrays into byte blocks without creating Go structs, but each block refers to the decoder's buffer and must be copied for asynchronous or long-term use. `UnmarshalArrayParallel` targets large batch jobs; the article recommends considering sequential `UnmarshalSlice` for concurrent HTTP workloads to avoid CPU contention. The library is not intended to match all of `encoding/json`: dynamic types such as `interface{}` and `map`, and special types such as `time.Time`, are outside its stated scope.

## Source excerpt

Рассказываю о релизе библиотеки SilentJSON для Go: почему дело не только в бенчмарках, а в подходе к обработке данных. Разбираем работу с RawMessage, потоковую десериализацию гигабайтных файлов и распараллеливание массивов без лишних аллокаций. Читать далее