Function: json-pop

json-pop is a byte-compiled function defined in json.el.gz.

Signature

(json-pop)

Documentation

Advance past the character at point, returning it.

Signal json-end-of-file if called at the end of the buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/json.el.gz
(define-inline json-pop ()
  "Advance past the character at point, returning it.
Signal `json-end-of-file' if called at the end of the buffer."
  (inline-quote
   (prog1 (or (char-after)
              (signal 'json-end-of-file ()))
     (json-advance))))