Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Animats
on Dec 6, 2023
|
parent
|
context
|
favorite
| on:
JSONB has landed
Is this just a data type, or did SQLite put in a JSON interpreter?
lifthrasiir
on Dec 6, 2023
|
next
[–]
What do you mean by a JSON interpreter? I think SQLite already has a full implementation of JSON including tree walkers, and this internal format (that is externally just another BLOB) makes them more efficient.
Animats
on Dec 6, 2023
|
parent
|
next
[–]
Oh, sorry, I was thinking that someone had put a Javascript interpreter in the database itself. Fortunately, no.
mariusor
on Dec 6, 2023
|
root
|
parent
|
next
[–]
Despite the name, the JSON format doesn't really have much to do with JavaScript.
sureglymop
on Dec 6, 2023
|
prev
|
next
[–]
Pretty sure SQLite comes with a JSON parser. JSON is a very simple format for which it is easy to write a parser for...
HDThoreaun
on Dec 6, 2023
|
prev
|
next
[–]
You mean a JSON parser? I don't think you can execute anything with json.
justinclift
on Dec 6, 2023
|
prev
|
next
[–]
SQLite has had pretty decent support for JSON for a while now:
https://sqlite.org/json1.html
cryptonector
on Dec 6, 2023
|
prev
[–]
It's a BLOB with a binary representation of JSON.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: