diff --git a/dev/annotated.html b/dev/annotated.html index c13bbf2..dae0f08 100644 --- a/dev/annotated.html +++ b/dev/annotated.html @@ -162,6 +162,7 @@  NschemaThis module contains the Schema abstract class and FieldInfo abstract class  CFieldInfo  CSchemaAn abstract schema that describes some data + CTypeWithMetadata diff --git a/dev/annotated_dup.js b/dev/annotated_dup.js index 3f16770..218fb15 100644 --- a/dev/annotated_dup.js +++ b/dev/annotated_dup.js @@ -52,7 +52,8 @@ var annotated_dup = ] ], [ "schema", "namespaceformatron_1_1schemas_1_1schema.html", [ [ "FieldInfo", "classformatron_1_1schemas_1_1schema_1_1FieldInfo.html", "classformatron_1_1schemas_1_1schema_1_1FieldInfo" ], - [ "Schema", "classformatron_1_1schemas_1_1schema_1_1Schema.html", "classformatron_1_1schemas_1_1schema_1_1Schema" ] + [ "Schema", "classformatron_1_1schemas_1_1schema_1_1Schema.html", "classformatron_1_1schemas_1_1schema_1_1Schema" ], + [ "TypeWithMetadata", "classformatron_1_1schemas_1_1schema_1_1TypeWithMetadata.html", "classformatron_1_1schemas_1_1schema_1_1TypeWithMetadata" ] ] ] ] ] ] ] diff --git a/dev/classes.html b/dev/classes.html index 96df1a8..007b547 100644 --- a/dev/classes.html +++ b/dev/classes.html @@ -121,7 +121,7 @@
Class Index
-
C | E | F | J | L | N | P | R | S
+
C | E | F | J | L | N | P | R | S | T
C
@@ -150,6 +150,9 @@
S
Schema (formatron.schemas.schema)
SubstringExtractor (formatron.extractor)
+
+
T
+
TypeWithMetadata (formatron.schemas.schema)
diff --git a/dev/classformatron_1_1formats_1_1json_1_1JsonExtractor.html b/dev/classformatron_1_1formats_1_1json_1_1JsonExtractor.html index 6abf73a..0714a3c 100644 --- a/dev/classformatron_1_1formats_1_1json_1_1JsonExtractor.html +++ b/dev/classformatron_1_1formats_1_1json_1_1JsonExtractor.html @@ -180,7 +180,7 @@

Detailed Description

An extractor that loads json data to an object from a string.

-

Definition at line 252 of file json.py.

+

Definition at line 282 of file json.py.

Constructor & Destructor Documentation

◆ __init__()

@@ -221,11 +221,20 @@

- bool
- int
- float
-
- string
-
- NoneType
-
- typing.Any
+
- str
    -
  • Subclasses of collections.abc.Mapping[str,T] and typing.Mapping[str,T] where T is a supported type,
  • +
  • with min_length, max_length and pattern constraints
      +
    • length is measured in UTF-8 character number
    • +
    • Warning: too large difference between min_length and max_length can lead to enormous memory consumption!
    • +
    • pattern is mutually exclusive with min_length and max_length
    • +
    • pattern will be compiled to a regular expression so all caveats of regular expressions apply
    • +
    • pattern currently is automatically anchored at both ends
      - NoneType
      +
      - typing.Any
      +
    • +
    +
  • +
+

Subclasses of collections.abc.Mapping[str,T] and typing.Mapping[str,T] where T is a supported type,