NAME
JSON::TypeInference::Type - Classes of JSON types
DESCRIPTION
The implementations of JSON::TypeInference::Type represent types of JSON values.
They must implement some methods that described below.
INTERFACE
CLASS METHODS
accepts($data: Any) # => Bool
-
Returns whether the given value is valid as the class.
name() # => Str
-
Returns a name of type.
INSTANCE METHODS
signature() # => Str
-
Returns a signature of type.
If the type has some type parameters, the signature contains type parameters that sorted by name.
LICENSE
Copyright (C) aereal.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
aereal <aereal@aereal.org>