Movatterモバイル変換


[0]ホーム

URL:


Clojure

Clojure Core API Reference

Clojurev1.13.0 API
Namespaces
Other Versions
Clojure Home

API forclojure.edn -Clojurev1.13.0 (in development)

byRich Hickey

Full namespace name:clojure.edn

Overview

edn reading.

Public Variables and Functions



read

function
Usage: (read)       (read stream)       (read opts stream)
Reads the next object from stream, which must be an instance ofjava.io.PushbackReader or some derivee.  stream defaults to thecurrent value of *in*.Reads data in the edn format (subset of Clojure data):http://edn-format.orgopts is a map that can include the following keys::eof - value to return on end-of-file. When not supplied, eof throws an exception.:readers  - a map of tag symbols to data-reader functions to be considered before default-data-readers.            When not supplied, only the default-data-readers will be used.:default - A function of two args, that will, if present and no reader is found for a tag,           be called with the tag and the value.
Added in Clojure version 1.5
Source


read-string

function
Usage: (read-string s)       (read-string opts s)
Reads one object from the string s. Returns nil when s is nil or empty.Reads data in the edn format (subset of Clojure data):http://edn-format.orgopts is a map as per clojure.edn/read
Added in Clojure version 1.5
Source
Copyright 2007-2025 by Rich Hickey
Logo & site design byTom Hickey.
Clojure auto-documentation system by Tom Faulhaber.

[8]ページ先頭

©2009-2025 Movatter.jp