nushell/crates/nu-command
Reilly Wood e445c41454
Fix to json for SQLite databases (#8343)
Fixes #8341. 

The `CustomValue::to_json()` function is an odd duck; it defaults to
returning `null`, and no `CustomValue` implementations override it to do
anything useful. I forgot to implement `to_json()` for `SQLiteDatabase`,
so `open foo.db | to json` was returning `null`.

To fix this, I've removed `CustomValue::to_json()` and now `to json`
will collect a `CustomValue` into a regular `Value` before doing a JSON
conversion.
2023-03-06 14:36:26 -08:00
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
proptest-regressions/format_conversions add tests, deal with pipes, newlines, tabs for to nuon (#6391) 2022-09-01 14:08:19 +02:00
src Fix to json for SQLite databases (#8343) 2023-03-06 14:36:26 -08:00
tests changes Reqwest to Ureq. (#8320) 2023-03-05 14:48:13 -08:00
Cargo.toml Bump rust-embed from 6.4.1 to 6.6.0 (#8330) 2023-03-05 19:36:14 -08:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00