AgentsPomBuilderto_jsonCopy page|View as Markdown|Open in Claude|More actionsConvert the POM to a JSON string. Returns str — JSON representation of the POM. Example 1from signalwire.core.pom_builder import PomBuilder23pom = PomBuilder()4pom.add_section("Role", body="You are a helpful assistant.")5pom.add_section("Rules", bullets=["Be concise", "Be accurate"])67json_str = pom.to_json()8print(json_str)