From ddb4e50b2bcb700dc4fb0012d9a149f08726651f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Thu, 3 Nov 2022 13:14:32 -0300 Subject: Add an interface to the json package --- json.lisp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'json.lisp') diff --git a/json.lisp b/json.lisp index cc3e0c1..44d6262 100644 --- a/json.lisp +++ b/json.lisp @@ -125,3 +125,9 @@ null-symbol)) (_ whitespace)) v)) + +(defun parse-string (str) + (run json-value (input:from-string str))) + +(defun parse-file (file) + (run json-value (input:from-file file))) -- cgit v1.2.3