Home Explore Blog CI



nushell

commands/docs/from_nuon.md
6f1442a992a77215d54fdf6742ab64d420de4bc585d4bdb7000000030000044b
---
title: from nuon
categories: |
  formats
version: 0.104.0
formats: |
  Convert from nuon to structured data.
usage: |
  Convert from nuon to structured data.
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->

# `from nuon` for [formats](/commands/categories/formats.md)

<div class='command-title'>Convert from nuon to structured data.</div>

## Signature

```> from nuon {flags} ```


## Input/output types:

| input  | output |
| ------ | ------ |
| string | any    |
## Examples

Converts nuon formatted string to table
```nu
> '{ a:1 }' | from nuon
╭───┬───╮
│ a │ 1 │
╰───┴───╯
```

Converts nuon formatted string to table
```nu
> '{ a:1, b: [1, 2] }' | from nuon
╭───┬───────────╮
│ a │ 1         │
│   │ ╭───┬───╮ │
│ b │ │ 0 │ 1 │ │
│   │ │ 1 │ 2 │ │
│   │ ╰───┴───╯ │
╰───┴───────────╯
```

Chunks
39f148f3 (1st chunk of `commands/docs/from_nuon.md`)
Title: from nuon: Convert NUON to Structured Data
Summary
The `from nuon` command in Nushell is used to convert NUON formatted strings into structured data, such as tables. It takes a string as input and outputs a structured data type. Examples demonstrate converting NUON strings representing simple objects and objects with nested arrays into Nushell tables.