nushell/crates/nu-std/std
Yuto c761f7f844
add 'from ndjson' into standard library (#10283)
close #8574
related #10276 
# Description

added below into standard library
```
def "from ndjson" []: string -> any {
    from json --objects
}
```

# User-Facing Changes


Users can use functions like "from ndjson" in standard library, and can
open ndjson files with `open` command.
```
use std formats *
# `from ndjson` is available now
open sample.ndjson
```

# Tests + Formatting

`toolkit check pr`

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`


# After Submitting

---------

Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com>
2023-09-11 14:59:07 +02:00
..
assert.nu Implement annotations support in test runner (#9406) 2023-07-02 10:41:33 +02:00
dirs.nu remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
dt.nu Add virtual path abstraction layer (#9245) 2023-05-23 23:48:50 +03:00
formats.nu add 'from ndjson' into standard library (#10283) 2023-09-11 14:59:07 +02:00
help.nu remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
input.nu Command to get individual keys (#9453) 2023-07-03 10:23:44 -05:00
iter.nu Add zip-into-record to std iter (#9395) 2023-06-10 20:15:30 +02:00
log.nu change LOG_FORMAT to NU_LOG_FORMAT in nu-std library (#10254) 2023-09-06 10:17:14 -07:00
math.nu move math constants to standard library (#9678) 2023-09-05 19:32:31 +02:00
mod.nu make the charpage optional for std clip (#10053) 2023-08-19 10:18:50 -05:00
testing.nu test-runner: add configurable threading (#9628) 2023-07-08 11:27:56 +02:00
xml.nu Improve type hovers (#9515) 2023-06-29 05:19:48 +12:00