Skip to content

Fix content_parser_name in JsonParser#151

Closed
ernstleierzopf wants to merge 1 commit into
developmentfrom
fix/json_matcher
Closed

Fix content_parser_name in JsonParser#151
ernstleierzopf wants to merge 1 commit into
developmentfrom
fix/json_matcher

Conversation

@ernstleierzopf
Copy link
Copy Markdown
Contributor

Fixes #23


Format is backend-specific.
"""
...
@abstractmethod
def load(cls, data: bytes, **kwargs: Any) -> "EventDataStructure":
"""Restore state from bytes produced by dump()."""
...
import the persistency package. This preserves the dependency direction
detectmate -> persistency, not the reverse.
"""
def stop(self) -> None: ...
def to_state(self) -> Dict[str, Any]:
"""Serialize tracker state to a plain dict (must be msgpack-
compatible)."""
...
@abstractmethod
def from_state(cls, state: Dict[str, Any]) -> "SingleTracker":
"""Restore tracker from a state dict produced by to_state()."""
...
try:
json.dumps(v)
safe[k] = v
except (TypeError, ValueError):
@ernstleierzopf ernstleierzopf changed the base branch from main to development May 18, 2026 17:05
@viktorbeck98 viktorbeck98 deleted the fix/json_matcher branch May 19, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Json matcher small bug

1 participant