summaryrefslogtreecommitdiff
path: root/src/CfimOfJson.ml
diff options
context:
space:
mode:
authorSon Ho2021-11-18 14:42:34 +0100
committerSon Ho2021-11-18 14:42:34 +0100
commit6e25ca2831dc61ba61642ad3f80711d0aa2802f2 (patch)
treef8df0fecd6d2a481c3bc0272b98fa75b0a03e61f /src/CfimOfJson.ml
parent04127f7cd76e22f0f807077144ffbc5bd416e049 (diff)
Factorize the deserialization code a bit
Diffstat (limited to 'src/CfimOfJson.ml')
-rw-r--r--src/CfimOfJson.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CfimOfJson.ml b/src/CfimOfJson.ml
index cfe408f7..75d4483e 100644
--- a/src/CfimOfJson.ml
+++ b/src/CfimOfJson.ml
@@ -11,8 +11,7 @@
open Yojson.Basic
open Identifiers
open Types
-
-type json = t
+open OfJsonBasic
let ( let* ) o f = match o with Error e -> Error e | Ok x -> f x