# `Kotoba.Nodes.Unknown`
[🔗](https://github.com/hattoriai/kotoba/blob/v0.5.0/lib/kotoba/nodes/unknown.ex#L1)

A node of a type that is not in the node registry.

`Kotoba.Document.parse/2` keeps the JSON map of the node in `raw`, with
its children, and `to_json/1` returns it with no change. Kotoba does not
read the children of an unknown node.

# `t`

```elixir
@type t() :: %Kotoba.Nodes.Unknown{raw: map(), type: String.t()}
```

# `from_json`

```elixir
@spec from_json(map()) :: t()
```

Builds an unknown node from its JSON map.

# `to_json`

```elixir
@spec to_json(t()) :: map()
```

Returns the JSON map of the node.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
