Skip to content

Commit

Permalink
remove unnecessary flush, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Aug 21, 2023
1 parent 213ea16 commit 262d3d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/std/text/json/api.ss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;;; -*- Gerbil -*-
;;; ̧© vyzo
;;; © vyzo
;;; json api
(import :gerbil/gambit/ports
:std/io
Expand Down Expand Up @@ -43,5 +43,4 @@
(def (json-object->string obj)
(let (buffer (open-buffered-string-writer #f))
(write-json-object/writer obj buffer (make-env))
(&BufferedStringWriter-flush buffer)
(get-buffer-output-string buffer)))

0 comments on commit 262d3d0

Please sign in to comment.