package ppx_yojson

  1. Overview
  2. Docs
PPX extension for Yojson literals and patterns

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_yojson-1.0.0.tbz
sha256=de1d7738aaee71ad1fd735463739b6b2f1c86ec0385625c67f2f8fadff969d72
sha512=b7109ed6e4f769cf944c0888108b91b806e2f2a6431b6db7dc489693a0fca51052f77ae0bca7f5312306bb2a6f00642431201faaf543cce71d4cd3899fae23ae

doc/ppx_yojson._lib/Ppx_yojson_lib/Integer_const/index.html

Module Ppx_yojson_lib.Integer_const

Helper functions to deal with AST's integer literals

val is_binary : string -> bool

Return whether this integer string representation is in binary form. i.e. if its in the form 0b100101.

val is_octal : string -> bool

Return whether this integer string representation is in octal form. i.e. if its in the form 0o1702.

val is_hexadecimal : string -> bool

Return whether this integer string representation is in hexadecimal form. i.e. if its in the form 0ox1a9f.

OCaml

Innovation. Community. Security.