This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
nushell
Watch
2
Star
0
Fork
You've already forked nushell
0
mirror of
https://github.com/nushell/nushell
synced
2025-01-09 19:59:02 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
6cdfee3573
nushell
/
crates
/
nu-command
/
src
/
formats
/
mod.rs
7 lines
70 B
Rust
Raw
Normal View
History
Unescape
Escape
Add 'from json'
2021-10-01 05:11:49 +00:00
mod
from
;
New xml format (#7947) # Description Changes old `from xml` `to xml` data formats. See #7682 for reasoning behind this change. Output is now a series of records with `tag`, `attributes` and `content` fields. Old: ![image](https://user-images.githubusercontent.com/17511668/224508728-92d37c1f-ebac-4d5c-924d-bebd60f5cf85.png) New: ![image](https://user-images.githubusercontent.com/17511668/224508753-a2de338a-ff2a-41e0-bbc1-ccc07a1d00ce.png) # User-Facing Changes New output/input format, better error handling for `from xml` and `to xml` commands. # Tests + Formatting Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass # After Submitting If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date.
2023-03-11 23:35:42 +00:00
mod
nu_xml_format
;
Add 'to json'
2021-10-29 06:26:29 +00:00
mod
to
;
Add 'from json'
2021-10-01 05:11:49 +00:00
pub
use
from
::
*
;
Add 'to json'
2021-10-29 06:26:29 +00:00
pub
use
to
::
*
;
Reference in a new issue
Copy permalink