
{"id":9516,"date":"2022-06-21T09:11:26","date_gmt":"2022-06-21T09:11:26","guid":{"rendered":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/documentation\/device_management\/telemetry_2\/telemetry_2-0_report_profiles\/json_encoding\/"},"modified":"2025-03-25T05:18:32","modified_gmt":"2025-03-25T05:18:32","slug":"json_encoding","status":"publish","type":"page","link":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/","title":{"rendered":"JSON Encoding"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n <html><body><div class=\"contentLayout2\">\n<div class=\"columnLayout single\" data-layout=\"single\">\n<div class=\"cell normal\" data-type=\"normal\">\n<div class=\"innerCell\">\n<p><u><strong>On this Page :<\/strong><\/u><\/p><div class=\"toc-macro client-side-toc-macro  conf-macro output-block\" data-headerelements=\"H1,H2,H3,H4,H5,H6,H7\" data-hasbody=\"false\" data-macro-name=\"toc\"> <\/div><\/div>\n<\/div>\n<\/div>\n<div class=\"columnLayout single\" data-layout=\"single\">\n<div class=\"cell normal\" data-type=\"normal\">\n<div class=\"innerCell\">\n<p>JSON Encoding details that will be used when EncodingType=&#8221;JSON&#8221;.<\/p><h3 class=\"wp-sub-header\"><u>JSONEncoding Properties<\/u><\/h3><hr><div class=\"table-wrap\"> <table class=\"wrapped confluenceTable\"><colgroup><col><col><col><\/colgroup><thead><tr><th class=\"confluenceTh\"><p>Property<\/p><\/th><th class=\"confluenceTh\"><p>Type<\/p><\/th><th class=\"confluenceTh\"><p>Required<\/p><\/th><\/tr><\/thead><tbody><tr><td class=\"confluenceTd\"><a href=\"\/documentation\/documentation\/documentation\/device_management\/telemetry_2\/telemetry_2-0_report_profiles\/json_encoding\" rel=\"nofollow\" class=\"rdk-inside-table\">ReportFormat<\/a><\/td><td class=\"confluenceTd\"><code>string<\/code><\/td><td class=\"confluenceTd\">Required<\/td><\/tr><tr><td class=\"confluenceTd\"><a href=\"\/documentation\/documentation\/documentation\/device_management\/telemetry_2\/telemetry_2-0_report_profiles\/json_encoding\" rel=\"nofollow\" class=\"rdk-inside-table\">ReportTimestamp<\/a><\/td><td class=\"confluenceTd\"><code>string<\/code><\/td><td class=\"confluenceTd\">Required<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<\/div>\n<\/div>\n<div class=\"columnLayout single\" data-layout=\"single\">\n<div class=\"cell normal\" data-type=\"normal\">\n<div class=\"innerCell\">\n<h3 id=\"JSONEncoding-ReportFormat\"><span>ReportFormat<\/span><\/h3><hr><p>JSON Format to be used for JSON encoding in the generated report.<\/p><p><strong>NOTE:<\/strong><span>&nbsp;<\/span>Only &#8220;NameValuePair&#8221; is currently supported in Telemetry 2.0.<\/p><p><code>ReportFormat<\/code><\/p><ul><li>is required<\/li><li>Type:<span>&nbsp;<\/span><code>string<\/code><\/li><\/ul><h4 id=\"JSONEncoding-ReportFormatConstraints\">ReportFormat Constraints<\/h4><p><strong>enum<\/strong>: the value of this property must be equal to one of the following values:<\/p><div class=\"table-wrap\"> <table class=\"wrapped confluenceTable\"><colgroup><col><col><\/colgroup><thead><tr><th class=\"confluenceTh\"><p>Value<\/p><\/th><th class=\"confluenceTh\"><p>Explanation<\/p><\/th><\/tr><\/thead><tbody><tr><td class=\"confluenceTd\"><code>\"NameValuePair\"<\/code><\/td><td class=\"confluenceTd\">Reports are formatted with each parameter of the data model encoded as a corresponding array of JSON Objects with the parameters specified as name\/value pairs.<\/td><\/tr><\/tbody><\/table><\/div><p><br><\/p><h3 id=\"JSONEncoding-ReportTimestamp\">ReportTimestamp<\/h3><hr><p>Timestamp format to be used in generated report.<\/p><p><strong>NOTE:<\/strong><span>&nbsp;<\/span>Only &#8220;None&#8221; is currently supported in Telemetry 2.0.<\/p><p><code>ReportTimestamp<\/code><\/p><ul><li>is required<\/li><li>Type:<span>&nbsp;<\/span><code>string<\/code><\/li><\/ul><h4 id=\"JSONEncoding-ReportTimestampConstraints\">ReportTimestamp Constraints<\/h4><p><strong>enum<\/strong>: the value of this property must be equal to one of the following values:<\/p><div class=\"table-wrap\"> <table class=\"wrapped confluenceTable\"><thead><tr><th class=\"confluenceTh\"><p>Value<\/p><\/th><th class=\"confluenceTh\"><p>Explanation<\/p><\/th><\/tr><\/thead><tbody><tr><td class=\"confluenceTd\"><code>\"None\"<\/code><\/td><td class=\"confluenceTd\">No Timestamp &#8220;CollectionTime&#8221; will be inserted into the JSON.<\/td><\/tr><\/tbody><\/table><\/div><\/div>\n<\/div>\n<\/div>\n<\/div><\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>On this Page : JSON Encoding details that will be used when EncodingType=&#8221;JSON&#8221;. JSONEncoding Properties [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":0,"parent":9510,"menu_order":1,"comment_status":"open","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-9516","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JSON Encoding - RDK Documentation Portal | Documentation<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JSON Encoding - RDK Documentation Portal | Documentation\" \/>\n<meta property=\"og:description\" content=\"On this Page : JSON Encoding details that will be used when EncodingType=&#8221;JSON&#8221;. JSONEncoding Properties [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/\" \/>\n<meta property=\"og:site_name\" content=\"RDK Documentation Portal | Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-25T05:18:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/\",\"url\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/\",\"name\":\"JSON Encoding - RDK Documentation Portal | Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/#website\"},\"datePublished\":\"2022-06-21T09:11:26+00:00\",\"dateModified\":\"2025-03-25T05:18:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Device Management\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Xconf\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Telemetry 2.0\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"Telemetry 2.0: Report Profiles\",\"item\":\"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/\"},{\"@type\":\"ListItem\",\"position\":7,\"name\":\"JSON Encoding\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/developer.rdkcentral.com\/documentation\/#website\",\"url\":\"https:\/\/developer.rdkcentral.com\/documentation\/\",\"name\":\"RDK Documentation Portal | Documentation\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/developer.rdkcentral.com\/documentation\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JSON Encoding - RDK Documentation Portal | Documentation","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/","og_locale":"en_US","og_type":"article","og_title":"JSON Encoding - RDK Documentation Portal | Documentation","og_description":"On this Page : JSON Encoding details that will be used when EncodingType=&#8221;JSON&#8221;. JSONEncoding Properties [&hellip;]","og_url":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/","og_site_name":"RDK Documentation Portal | Documentation","article_modified_time":"2025-03-25T05:18:32+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/","url":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/","name":"JSON Encoding - RDK Documentation Portal | Documentation","isPartOf":{"@id":"https:\/\/developer.rdkcentral.com\/documentation\/#website"},"datePublished":"2022-06-21T09:11:26+00:00","dateModified":"2025-03-25T05:18:32+00:00","breadcrumb":{"@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/json_encoding\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/developer.rdkcentral.com\/documentation\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/developer.rdkcentral.com\/documentation\/"},{"@type":"ListItem","position":3,"name":"Device Management","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/"},{"@type":"ListItem","position":4,"name":"Xconf","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/"},{"@type":"ListItem","position":5,"name":"Telemetry 2.0","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/"},{"@type":"ListItem","position":6,"name":"Telemetry 2.0: Report Profiles","item":"https:\/\/developer.rdkcentral.com\/documentation\/documentation\/device_management\/xconf\/telemetry_2-0\/telemetry_2-0_report_profiles\/"},{"@type":"ListItem","position":7,"name":"JSON Encoding"}]},{"@type":"WebSite","@id":"https:\/\/developer.rdkcentral.com\/documentation\/#website","url":"https:\/\/developer.rdkcentral.com\/documentation\/","name":"RDK Documentation Portal | Documentation","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/developer.rdkcentral.com\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/9516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/comments?post=9516"}],"version-history":[{"count":2,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/9516\/revisions"}],"predecessor-version":[{"id":9542,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/9516\/revisions\/9542"}],"up":[{"embeddable":true,"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/pages\/9510"}],"wp:attachment":[{"href":"https:\/\/developer.rdkcentral.com\/documentation\/wp-json\/wp\/v2\/media?parent=9516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}