NAME
Azure::SDK::AppConfiguration::Serializer - bounded key-value JSON serializer
DESCRIPTION
Serializes writes within the service's combined 10 KiB limit and parses bounded key-value or list responses into typed models with reusable quoted ETags.
CONSTRUCTOR
new
Accepts optional positive integer max_bytes, the maximum response body size decoded by this serializer. It defaults to 8 MiB.
METHODS
serialize_setting
Serializes an Azure::SDK::AppConfiguration::ConfigurationSetting for a write request and enforces the service's combined 10 KiB key-value limit.
parse_setting
Parses one setting response. An optional response-header ETag is checked against the body ETag and retained with its quoting.
parse_setting_page
Parses a bounded key-value list into an Azure::SDK::AppConfiguration::ConfigurationSettingPage.
parse_label_page
Parses a bounded label list into an Azure::SDK::AppConfiguration::ConfigurationLabelPage.
serialize_snapshot
Validates snapshot filters, composition_type, retention_period, and tags, then returns the JSON request body.
parse_snapshot
Parses one snapshot response. An optional response-header ETag is checked against the body ETag.
parse_snapshot_page
Parses a bounded snapshot list into an Azure::SDK::AppConfiguration::ConfigurationSnapshotPage.
parse_snapshot_operation
Parses a snapshot long-running-operation response and validates its status.