Class BaselineJsonReader
java.lang.Object
dev.archunitjava.baseline.BaselineJsonReader
Bounded, dependency-free reader for the canonical reviewed-baseline JSON schema.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReviewedBaselineread(byte[] json) Decodes and reads strict UTF-8 baseline bytes with default resource limits.static ReviewedBaselineread(byte[] json, BaselineReadLimits limits) Decodes and reads strict UTF-8 baseline bytes with caller-supplied resource limits.static ReviewedBaselineReads strict baseline JSON text with default resource limits.static ReviewedBaselineread(String json, BaselineReadLimits limits) Reads strict baseline JSON text with caller-supplied resource limits.static ReviewedBaselineReads a regular, non-symbolic baseline file with default resource limits.static ReviewedBaselineread(Path path, BaselineReadLimits limits) Reads a regular, non-symbolic baseline file with caller-supplied resource limits.
-
Method Details
-
read
Reads strict baseline JSON text with default resource limits. -
read
Reads strict baseline JSON text with caller-supplied resource limits. -
read
Decodes and reads strict UTF-8 baseline bytes with default resource limits. -
read
Decodes and reads strict UTF-8 baseline bytes with caller-supplied resource limits. -
read
Reads a regular, non-symbolic baseline file with default resource limits.- Throws:
IOException
-
read
Reads a regular, non-symbolic baseline file with caller-supplied resource limits.- Throws:
IOException
-