Interface AgenticScopeJsonCodec
public interface AgenticScopeJsonCodec
A codec for serializing and deserializing
DefaultAgenticScope objects to and from JSON.-
Method Summary
Modifier and TypeMethodDescriptionDeserializes a JSON string to aDefaultAgenticScopeobject.toJson(DefaultAgenticScope agenticScope) Serializes aDefaultAgenticScopeobject to a JSON string.
-
Method Details
-
fromJson
Deserializes a JSON string to aDefaultAgenticScopeobject.- Parameters:
json- the JSON string.- Returns:
- the deserialized
DefaultAgenticScopeobject.
-
toJson
Serializes aDefaultAgenticScopeobject to a JSON string.- Parameters:
agenticScope- theDefaultAgenticScopeobject.- Returns:
- the serialized JSON string.
-