#json
4 discoveries · Hand-picked discoveries from the open web, newest first.
-
My site has a human.json file
I remember the early days of blogging as a time where blogs were connectors between people so I was interested to see Corey Snipe's post Add a ‘human.json' file to a Publii Website - coreysnipes.com . The human.json protocol is lightweight protocol for humans to assert authorship of their website content and vouch for the humanity of others. Setup was simple. I created a human.json file in accordance with the instructions given., added it to The Quantum Garden Website and installed the browser add-on. When it detects a human.json is present it reads the files and checks for humanity in all dir
The Quantum Garden · EN
-
Flutter JSON vs Protocol Buffer: Benefits and performance
As discussed in the last post on Flutter JSON decoding performance, we saw that parsing JSON on the main thread is usually the right choice. Today, we'll look at Protocol Buffers to increase performance further.
Cretezy — Technology & Programming · EN
-
Flutter JSON parsing: What is the fastest?
Flutter, Google's portable UI framework, uses Dart for application code. My question today: What is the fastest way to parse JSON in Flutter?
Cretezy — Technology & Programming · EN
-
PostgreSQL与MySQL的JSON类型及Go语言处理
关系型数据库存 JSON 早就不稀奇了,但把它用对没那么简单。你得先分清 PostgreSQL 里 json 和 jsonb 到底差在哪、什么时候该建什么索引,再决定 Go 代码里怎么读写才不别扭。这篇就把这几件事讲清楚,代码都能直接抄进项目。 一、三种类型的本质区别 维度 PostgreSQL json PostgreSQL jsonb MySQL json 存储形式 原始文本(逐字节保存) 分解后的二进制 分解后的二进制 保留空格/键序 保留 不保留 不保留 保留重复键 保留 只留最后一个 只留最后一个 写入速度 快(不解析) 稍慢(要解析) 稍慢(要解析) 查询速度 慢(每次重解析) 快 快 支持索引 否(需表达式索引) GIN 索引 函数索引 / 多值索引 去重/规范化 否 是 是 一句话选型: PostgreSQL 绝大多数场景直接用 jsonb 。只有当你需要"原样存回、包括空格和键顺序"这种审计类需求时才用 json 。 MySQL 只有 json 一种 (内部实现类似 jsonb,二进制存储、支持部分更新)。
鸟窝 · ZH