nsmcp::RequestRoutingTool method encodeSnapshot (public)
<instance of nsmcp::RequestRoutingTool> encodeSnapshot snapshot
Defined in /usr/local/ns/tcl/nsmcp/traffic-tools.tcl
Encode a routing snapshot as typed JSON fields. Retain route order and availability metadata while converting Tcl containers to arrays and objects.
- Parameters:
- snapshot (required)
- Routing snapshot with availability metadata.
- Returns:
- The field triples for the encoded routing snapshot.
- Testcases:
- No testcase defined.
![[i]](/resources/acs-subsite/ZoomIn16.gif)