{"version":3,"sources":["webpack:///./src/views/Chap25JsonAndXml.vue?3400","webpack:///src/views/Chap25JsonAndXml.vue","webpack:///./src/views/Chap25JsonAndXml.vue?fb0b","webpack:///./src/views/Chap25JsonAndXml.vue","webpack:///./src/assets/images/xml_attr.png","webpack:///./src/assets/images/struct_tag.png","webpack:///./src/assets/images/type_struct_to_json.png"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_v","directives","name","rawName","pre","staticRenderFns","components","FeedbackInvite","BuyCopyInvite","NewsletterInput","ChapterHeading","ChapterBibliography","TOCChapter","NavBar","BIconLink45deg","Footer","created","window","data","publicPath","metaInfo","title","htmlAttrs","lang","meta","charset","content","property","link","rel","href","component","module","exports"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,UAAUA,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,QAAQ,CAACA,EAAG,aAAa,CAACG,MAAM,CAAC,aAAa,sBAAsBH,EAAG,SAASA,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAO,OAAO,GAAK,MAAM,CAACH,EAAG,iBAAiB,CAACG,MAAM,CAAC,gBAAgB,2BAA2B,aAAa,wBAAwB,YAAY,kBAAkBH,EAAG,MAAM,CAACE,YAAY,SAASC,MAAM,CAAC,GAAK,yCAAyCH,EAAG,KAAK,CAACG,MAAM,CAAC,cAAc,MAAM,CAACH,EAAG,OAAO,CAACE,YAAY,yBAAyB,CAACN,EAAIQ,GAAG,OAAOR,EAAIQ,GAAG,0CAA0CJ,EAAG,IAAI,CAACG,MAAM,CAAC,KAAO,yCAAyC,CAACH,EAAG,mBAAmB,CAACE,YAAY,oBAAoBC,MAAM,CAAC,aAAa,UAAU,KAAKH,EAAG,KAAK,CAACA,EAAG,KAAK,CAACA,EAAG,IAAI,CAACJ,EAAIQ,GAAG,k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IACr03ES,EAAkB,G,4GCw3BtB,wCACA,gOAEe,GACbH,KAAMA,mBACNI,WAAYA,CAAdC,sBAAAC,qBAAAC,uBAAAC,sBAAAC,2BAAAC,kBAAAC,cAAAC,sBAAAC,eAEEC,QAJF,WAKIC,OAAOA,SAASA,EAApBA,IACEC,KANF,WAMA,OAAAC,iBACEC,SAAUA,CACRC,MAAJA,EACIC,UAAJA,CACMC,KAANA,MAEIC,KAAJA,CACA,CAAMC,QAANA,SACA,CAAMvB,KAANA,cAAMwB,QAANA,GACA,CAAMxB,KAANA,SAAMwB,QAANA,iBACA,CAAMC,SAANA,YAAMD,QAANA,SACA,CAAMC,SAANA,UAAMD,QAANA,WACA,CAAMC,SAANA,WAAMD,QAANA,GACA,CAAMC,SAANA,iBAAMD,QAANA,GACA,CAAMC,SAANA,SAAMD,QAANA,sBACA,CAAMC,SAANA,eAAMD,QAANA,wBACA,CAAMC,SAANA,eAAMD,QAANA,uBACA,CAAMC,SAANA,kBAAMD,QAANA,mBAEIE,KAAJA,CACA,CAAMC,IAANA,YAAMC,KAANA,yBCt5B0V,I,YCOtVC,EAAY,eACd,EACAxC,EACAc,GACA,EACA,KACA,WACA,MAIa,aAAA0B,E,gCClBfC,EAAOC,QAAU,IAA0B,6B,qBCA3CD,EAAOC,QAAU,IAA0B,+B,qBCA3CD,EAAOC,QAAU,IAA0B","file":"js/chunk-572d0849.eae512d0.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('NavBar'),_c('div',{staticClass:\"container-fluid\"},[_c('b-row',[_c('TOCChapter',{attrs:{\"chapter-id\":\"Chap25JsonAndXml\"}}),_c('b-col'),_c('b-col',{attrs:{\"role\":\"main\",\"md\":\"6\"}},[_c('ChapterHeading',{attrs:{\"chapter-title\":\"Chapter 25: JSON and XML\",\"image-name\":\"encoding-decoding.jpg\",\"image-alt\":\"JSON and XML\"}}),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"what-will-you-learn-in-this-chapter\"}}),_c('h1',{attrs:{\"data-number\":\"1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"1\")]),_vm._v(\" What will you learn in this chapter? \"),_c('a',{attrs:{\"href\":\"#what-will-you-learn-in-this-chapter\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('ul',[_c('li',[_c('p',[_vm._v(\"What is encoding/decoding?\")])]),_c('li',[_c('p',[_vm._v(\"What are JSON and XML?\")])]),_c('li',[_c('p',[_vm._v(\"What are marshaling and unmarshaling?\")])]),_c('li',[_c('p',[_vm._v(\"How to convert a variable into JSON and XML.\")])]),_c('li',[_c('p',[_vm._v(\"How to convert a JSON or XML string (or file) into a variable.\")])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"technical-concepts-covered\"}}),_c('h1',{attrs:{\"data-number\":\"2\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"2\")]),_vm._v(\" Technical concepts covered \"),_c('a',{attrs:{\"href\":\"#technical-concepts-covered\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('ul',[_c('li',[_c('p',[_vm._v(\"Encode / Decode\")])]),_c('li',[_c('p',[_vm._v(\"Marshal / Unmarshal\")])]),_c('li',[_c('p',[_vm._v(\"Data stream\")])]),_c('li',[_c('p',[_vm._v(\"JSON\")])]),_c('li',[_c('p',[_vm._v(\"XML\")])]),_c('li',[_c('p',[_vm._v(\"interface implementation\")])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"introduction\"}}),_c('h1',{attrs:{\"data-number\":\"3\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"3\")]),_vm._v(\" Introduction \"),_c('a',{attrs:{\"href\":\"#introduction\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"JSON and XML are two formats that are used in modern applications. They are very convenient because they can be read and easily understood by humans in comparison to other formats (like protocol buffers, for instance see \"),_c('a',{attrs:{\"href\":\"#par:A-word-about\",\"data-reference-type\":\"ref\",\"data-reference\":\"par:A-word-about\"}},[_vm._v(\"[par:A-word-about]\")]),_vm._v(\")\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"encoding-decoding\"}}),_c('BuyCopyInvite'),_c('h1',{attrs:{\"data-number\":\"4\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"4\")]),_vm._v(\" Encoding / Decoding \"),_c('a',{attrs:{\"href\":\"#encoding-decoding\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"Most of the time, applications transmit data to other applications, or to humans. In a Go program, the data that we manipulate is often in the form of a type struct :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Cart struct {\\n ID string\\n Paid bool\\n}\\ncart := Cart{\\n ID: \\\"121514\\\",\\n Paid: false,\\n}\")])]),_c('p',[_vm._v(\"What if we want to transmit the data in the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"cart\")])]),_vm._v(\" variable to another program? What if this program is not written in Go ? That’s why we need encoding.\")]),_c('ul',[_c('li',[_c('strong',[_vm._v(\"Encoding is the process of transforming a piece of data into a “coded form”\")]),_vm._v(\".\")])]),_c('p',[_vm._v(\"When transmitting a message through a communication channel, we want to make sure that the receiver will understand the message. Hence the sender and the receiver will decide which encoding technique they will use. The term encoding technique might sound unfamiliar, but you use the process of encoding every day... When we speak to another individual, we encode our thoughts into a coded form: the language (English, French, French Canadian, Mandarin,...). When you speak, you encode your thoughts. (if you think before you speak, of course). The language that we use has a set of rules that we have to respect to make our message understandable (syntax, grammar ...). This is the same for all “coded form”.\")]),_c('ul',[_c('li',[_c('strong',[_vm._v(\"The “coded form” can be transformed back into the original message thanks to decoding.\")])])]),_c('p',[_vm._v(\"In this section, we will study two “coded forms” : JSON and XML.\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"marshal-unmarshal\"}}),_c('h1',{attrs:{\"data-number\":\"5\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"5\")]),_vm._v(\" Marshal / Unmarshal \"),_c('a',{attrs:{\"href\":\"#marshal-unmarshal\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"In the next section, you will see the term Marshal and Unmarshal appear. Marshaling and unmarshaling also denote a process.\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"Marshaling is the process of transforming an \"),_c('strong',[_vm._v(\"object\")]),_vm._v(\" into a \"),_c('strong',[_vm._v(\"storable\")]),_vm._v(\" representation using a specific format.\")]),_c('ul',[_c('li',[_vm._v(\"We can marshal a variable of type struct in JSON, for example\")])])]),_c('li',[_c('p',[_vm._v(\"Unmarshaling is the reverse process.\")])])]),_c('p',[_vm._v(\"“Marshaling” refers to the same concept as “encoding”. However, when you use this term, you explicitly say that you will work with precisely defined objects (ex: a map, a slice, a variable of type struct...). An encoder operates on \"),_c('strong',[_vm._v(\"a stream\")]),_vm._v(\" of data, a marshaler operates on a data structure, an object.\")]),_c('p',[_vm._v(\"You might ask what a data stream is? It is a flow of data that arrives into a system. For instance, a system can receive data streams, flows of data through a network connection. Handling a data stream can be a complex task because data can arrive in chunks, and it can arrive in an unordered manner. Chunks may also vary in size, which can lead to memory issues.\")]),_c('p',[_c('strong',[_vm._v(\"Conclusion\")]),_vm._v(\" : we encode a stream of data, we marshal a data structure.\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"what-is-json\"}}),_c('h1',{attrs:{\"data-number\":\"6\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"6\")]),_vm._v(\" What is JSON \"),_c('a',{attrs:{\"href\":\"#what-is-json\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"JSON means JavaScript Object Notation. This is a text format that is used to encode/decode \"),_c('strong',[_vm._v(\"structured\")]),_vm._v(\" data. It has been specified first by Douglas Crockford.\")]),_c('p',[_vm._v(\"Here is an example :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"[\\n {\\n \\\"id\\\": 1,\\n \\\"first_name\\\": \\\"Annalise\\\",\\n \\\"last_name\\\": \\\"Marlin\\\",\\n \\\"city\\\": \\\"Bang Bon\\\"\\n },\\n {\\n \\\"id\\\": 2,\\n \\\"first_name\\\": \\\"Dacy\\\",\\n \\\"last_name\\\": \\\"Biffin\\\",\\n \\\"city\\\": \\\"Cuilco\\\"\\n },\\n {\\n \\\"id\\\": 3,\\n \\\"first_name\\\": \\\"Wendye\\\",\\n \\\"last_name\\\": \\\"Taillard\\\",\\n \\\"city\\\": \\\"Preobrazhenka\\\"\\n }\\n]\")])]),_c('ul',[_c('li',[_c('p',[_vm._v(\"We have an array of 3 user objects.\")])]),_c('li',[_c('p',[_vm._v(\"The array starts with \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"[\")])]),_vm._v(\" and ends with \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"]\")])])])]),_c('li',[_c('p',[_vm._v(\"Each object starts with a curly brace and ends with a curly brace. (\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"{}\")])]),_vm._v(\")\")])]),_c('li',[_c('p',[_vm._v(\"Each user property is written with a key-value pair format.\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\\"id\\\": 3\")])])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"unmarshal-json\"}}),_c('h1',{attrs:{\"data-number\":\"7\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"7\")]),_vm._v(\" Unmarshal JSON \"),_c('a',{attrs:{\"href\":\"#unmarshal-json\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"To decode a string containing JSON, you will need to create type structs. Let’s take an example.\")]),_c('p',[_vm._v(\"Imagine that you want to decode the following JSON string :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"{\\n \\\"cat\\\": {\\n \\\"name\\\": \\\"Joey\\\",\\n \\\"age\\\": 8\\n }\\n}\")])]),_c('p',[_vm._v(\"We have an object with a property cat equal to another object with two properties: \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"name\")])]),_vm._v(\" and \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"age\")])]),_vm._v(\". When you want to decode, you first have to create a struct that will hold the data.\")]),_c('p',[_vm._v(\"We will first create a struct that holds the cat struct :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type MyJson struct {\\n Cat\\n}\")])]),_c('p',[_vm._v(\"Then we will define the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Cat\")])]),_vm._v(\" struct :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Cat struct {\\n Name string\\n Age uint\\n}\")])]),_c('p',[_vm._v(\"We have two fields, name and age, similar to the JSON structure that we want to decode. We can now launch the decoding function :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/unmarshall-json/main.go \\n\\nfunc main() {\\n myJson := []byte(`{\\\"cat\\\":{ \\\"name\\\":\\\"Joey\\\", \\\"age\\\":8}}`)\\n c := MyJson{}\\n err := json.Unmarshal(myJson, &c)\\n if err != nil {\\n panic(err)\\n }\\n fmt.Println(c.Cat.Name)\\n fmt.Println(c.Cat.Age)\\n}\")])]),_c('p',[_vm._v(\"We first need to convert the string to a slice of bytes. Then we create a new empty \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"MyJson\")])]),_vm._v(\" struct.\")]),_c('p',[_vm._v(\"Then we call \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Unmarshal\")])]),_vm._v(\" to set the values of our variable \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"c\")])]),_vm._v(\". Note that \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Unmarshal\")])]),_vm._v(\" arguments are :\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"A slice of bytes that represent the JSON to decode (\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"myJson\")])]),_vm._v(\")\")])]),_c('li',[_c('p',[_vm._v(\"A pointer to the variable \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"c\")])]),_vm._v(\" (\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"&c\")])]),_vm._v(\")\")])])]),_c('p',[_vm._v(\"Why do we need to pass a pointer? Because the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Unmarshal\")])]),_vm._v(\" function will modify the value \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"c\")])]),_vm._v(\".\")]),_c('p',[_vm._v(\"What is the expected output of the following code?\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"fmt.Println(c.Cat.Name)\\nfmt.Println(c.Cat.Age)\")])]),_c('p',[_vm._v(\"We expect to see :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"Joey\\n8\")])]),_c('p',[_vm._v(\"But if you run the previous code, you will see that nothing is output! Why?\")]),_c('p',[_vm._v(\"Because \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Unmarshal\")])]),_vm._v(\" didn’t make a successful matching of the fields! \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Unmarshal\")])]),_vm._v(\" \"),_c('strong',[_vm._v(\"will take the name of the fields of our struct and try to find a corresponding property in the JSON string.\")]),_vm._v(\" If you look closely at our struct, we have capitalized the first letters to export the fields.\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"solutions\"}}),_c('h4',{attrs:{\"data-number\":\"7.0.0.1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"7.0.0.1\")]),_vm._v(\" Solutions \"),_c('a',{attrs:{\"href\":\"#solutions\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_c('p',[_vm._v(\"We can make our fields unexported (we remove the first capitalized letter). This is not a good idea. An external format to our application should not interfere with our application types!\")])]),_c('li',[_c('p',[_vm._v(\"We need to get the ability to define other field names decorrelated from the field name in the JSON string.\")])])]),_c('p',[_vm._v(\"Solution 2 seems difficult. In reality, it’s not. We will use \"),_c('strong',[_vm._v(\"tags\")]),_vm._v(\".\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"struct-tags\"}}),_c('h4',{attrs:{\"data-number\":\"7.0.0.2\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"7.0.0.2\")]),_vm._v(\" Struct Tags \"),_c('a',{attrs:{\"href\":\"#struct-tags\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"Tags are small \"),_c('strong',[_vm._v(\"string literals\")]),_vm._v(\" that can follow a field declaration. Tags are accessible to the decoder. It will use them to decode the JSON string correctly.\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/unmarshall-json-tags/main.go \\n\\ntype MyJson struct {\\n Cat `json:\\\"cat\\\"`\\n}\\n\\ntype Cat struct {\\n Name string `json:\\\"name\\\"`\\n Age uint `json:\\\"age\\\"`\\n}\")])]),_c('p',[_vm._v(\"You see that we added here three tags to the fields of the type structs. Tags always have the same construction :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"`json:\\\"nameOfTheFieldInJson\\\"`\")])]),_c('p',[_vm._v(\"The Unmarshaler will be able to find the fields in the JSON. They are accessible via the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"reflect\")])]),_vm._v(\" package (more precisely the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"tag\")])]),_vm._v(\" is a field of the struct \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"reflect.StructField\")])]),_vm._v(\")\")]),_c('figure',[_c('b-img',{staticClass:\"img-book\",attrs:{\"src\":require('@/assets/images/type_struct_to_json.png'),\"alt\":\"Type Struct to JSON with struct tags\",\"fluid\":\"\",\"thumbnail\":\"\"}}),_c('figcaption',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"Type Struct to JSON with struct tags\")])],1),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"marshal-json\"}}),_c('BuyCopyInvite'),_c('h1',{attrs:{\"data-number\":\"8\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"8\")]),_vm._v(\" Marshal JSON \"),_c('a',{attrs:{\"href\":\"#marshal-json\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"To create a JSON string in go, you have to define a type struct that will define your data structure. We will take the example of an e-commerce website that references products. Our objective is to create a JSON string from a slice of products.\")]),_c('p',[_vm._v(\"We first define the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Product\")])]),_vm._v(\" type struct and the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Category\")])]),_vm._v(\" type struct (an article belong to a unique category) :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Product struct {\\n ID uint64\\n Name string\\n SKU string\\n Cat Category\\n}\\ntype Category struct {\\n ID uint64\\n Name string\\n}\")])]),_c('p',[_vm._v(\"Then we will create a product, more precisely, a Tea Pot.\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"p := Product{ID: 42, Name: \\\"Tea Pot\\\", SKU: \\\"TP12\\\", Category: Category{ID: 2, Name: \\\"Tea\\\"}}\")])]),_c('p',[_vm._v(\"Once we have our variable, we can launch the json.Marshal function :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/marshall-json/main.go \\n\\nb, err := json.Marshal(p)\\nif err != nil {\\n panic(err)\\n}\\nfmt.Println(string(b))\")])]),_c('p',[_vm._v(\"The variable \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"b\")])]),_vm._v(\" is a slice of bytes. Note that the encoding operation might result in an error. We catch this error, and we make our program panic\"),_c('a',{staticClass:\"footnote-ref\",attrs:{\"href\":\"#fn1\",\"id\":\"fnref1\",\"role\":\"doc-noteref\"}},[_c('sup',[_vm._v(\"1\")])]),_vm._v(\". Then we can print our result :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"{\\\"ID\\\":42,\\\"Name\\\":\\\"Tea Pot\\\",\\\"SKU\\\":\\\"TP12\\\",\\\"Price\\\":30.5,\\\"Category\\\":{\\\"ID\\\":2,\\\"Name\\\":\\\"Tea\\\"}}\")])]),_c('p',[_vm._v(\"The formatting of the string is not optimal. We can use instead of another function to encode the JSON but also to indent it :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/marshall-json/main.go \\n\\nbI, err := json.MarshalIndent(p,\\\"\\\",\\\" \\\")\\nif err != nil {\\n panic(err)\\n}\\nfmt.Println(string(bI))\")])]),_c('p',[_vm._v(\"The arguments of \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.MarshalIndent\")])]),_vm._v(\" are :\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"the \"),_c('strong',[_vm._v(\"data\")]),_vm._v(\" to marshal\")])]),_c('li',[_c('p',[_vm._v(\"the \"),_c('strong',[_vm._v(\"prefix\")]),_vm._v(\" string (every line of the output result will start with this string). In the example, this parameter is populated with an empty string.\")])]),_c('li',[_c('p',[_vm._v(\"the \"),_c('strong',[_vm._v(\"indent\")]),_vm._v(\" string. In the example, we put a tab.\")])])]),_c('p',[_vm._v(\"The outputed result is :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"{\\n \\\"ID\\\": 42,\\n \\\"Name\\\": \\\"Tea Pot\\\",\\n \\\"SKU\\\": \\\"TP12\\\",\\n \\\"Category\\\": {\\n \\\"ID\\\": 2,\\n \\\"Name\\\": \\\"Tea\\\"\\n }\\n}\")])]),_c('p',[_vm._v(\"Usually, in JSON, the properties’ names do not begin with a capitalized letter. Here, the json package has simply taken the name of our \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Product\")])]),_vm._v(\" struct’s fields without any modification.\")]),_c('p',[_vm._v(\"Tags can be added to the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Product\")])]),_vm._v(\" struct to control the printed result :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/marshall-json/main.go \\n\\ntype Product struct {\\n ID uint64 `json:\\\"id\\\"`\\n Name string `json:\\\"name\\\"`\\n SKU string `json:\\\"sku\\\"`\\n Category Category `json:\\\"category\\\"`\\n}\\ntype Category struct {\\n ID uint64 `json:\\\"id\\\"`\\n Name string `json:\\\"name\\\"`\\n}\")])]),_c('p',[_vm._v(\"The outputed result is now :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"{\\n \\\"id\\\": 42,\\n \\\"name\\\": \\\"Tea Pot\\\",\\n \\\"sku\\\": \\\"TP12\\\",\\n \\\"category\\\": {\\n \\\"id\\\": 2,\\n \\\"name\\\": \\\"Tea\\\"\\n }\\n}\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"struct-tags-1\"}}),_c('h1',{attrs:{\"data-number\":\"9\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"9\")]),_vm._v(\" Struct tags \"),_c('a',{attrs:{\"href\":\"#struct-tags-1\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"In the two previous sections we have seen that we can control the structure of the encoded JSON with tags. We have also learned how to decode a JSON string and make our structure’s field name match the JSON properties’ name.\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"how-to-ignore-empty-fields\"}}),_c('h2',{attrs:{\"data-number\":\"9.1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"9.1\")]),_vm._v(\" How to ignore empty fields? \"),_c('a',{attrs:{\"href\":\"#how-to-ignore-empty-fields\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"If one of the fields of your variable is not set, it will have the default zero value. By default, it will be present in the JSON string generated by \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Marshal\")])]),_vm._v(\" or \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.MarshalIndent\")])]),_vm._v(\" \"),_c('strong',[_vm._v(\":\")])]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/tags/main.go \\n\\ntype Product struct {\\n ID uint64 `json:\\\"id\\\"`\\n Name string `json:\\\"name\\\"`\\n}\\n\\nfunc main() {\\n p := Product{ID: 42}\\n bI, err := json.MarshalIndent(p, \\\"\\\", \\\" \\\")\\n if err != nil {\\n panic(err)\\n }\\n fmt.Println(string(bI))\\n}\")])]),_c('p',[_vm._v(\"The script will print :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"{\\n \\\"id\\\": 42,\\n \\\"name\\\": \\\"\\\"\\n}\")])]),_c('p',[_vm._v(\"Here the field name is an empty string. We can add the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"omitempty\")])]),_vm._v(\" directive into the struct tag to make it disappear from the outputed JSON :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Product struct {\\n ID uint64 `json:\\\"id\\\"`\\n Name string `json:\\\"name,omitempty\\\"`\\n}\")])]),_c('p',[_vm._v(\"The result is now :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"{\\n \\\"id\\\": 42\\n}\")])]),_c('p',[_vm._v(\"The name property has been omitted because it was empty.\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"skip-a-field\"}}),_c('h2',{attrs:{\"data-number\":\"9.2\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"9.2\")]),_vm._v(\" Skip a field \"),_c('a',{attrs:{\"href\":\"#skip-a-field\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"The use case is simple, you have a struct with ten fields, and you want to hide it in the encoded version of your JSON string (for instance, the field is no longer used by your clients). What you could do is to remove it from your struct. That solution is not the good one if you still use this field in the rest of your code.\")]),_c('p',[_vm._v(\"There is a directive for that : \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"-\")])])]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/tags/main.go \\n\\ntype Product struct {\\n ID uint64 `json:\\\"id\\\"`\\n Name string `json:\\\"name,omitempty\\\"`\\n Description string `json:\\\"-\\\"`\\n}\")])]),_c('p',[_vm._v(\"Here we are telling the json package not to output the field \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Description\")])]),_vm._v(\" in the encoded string.\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"how-to-parse-the-tags-of-your-struct\"}}),_c('h2',{attrs:{\"data-number\":\"9.3\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"9.3\")]),_vm._v(\" How to parse the tags of your struct \"),_c('a',{attrs:{\"href\":\"#how-to-parse-the-tags-of-your-struct\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"You can obtain the value of tags in a type struct by using the package reflect :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/access-tags/main.go \\n\\ntype Product struct {\\n ID uint64 `json:\\\"id\\\"`\\n Name string `json:\\\"name,omitempty\\\"`\\n Description string `json:\\\"-\\\"`\\n}\\n\\nfunc main() {\\n p:= Product{ID:32}\\n t := reflect.TypeOf(p)\\n for i := 0; i < t.NumField(); i++ {\\n fmt.Printf(\\\"field Name : %s\\\\n\\\",t.Field(i).Name)\\n fmt.Printf(\\\"field Tag : %s\\\\n\\\",t.Field(i).Tag)\\n }\\n}\")])]),_c('p',[_vm._v(\"Here we first define the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Product\")])]),_vm._v(\" type that contains three fields with tags on each field. Then in the main function, we create a new variable (of type \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Product\")])]),_vm._v(\") named \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"p\")])]),_vm._v(\". The type data is retrieved with the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"TypeOf\")])]),_vm._v(\" function of the standard package \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"reflect\")])]),_vm._v(\".\")]),_c('p',[_vm._v(\"The function \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"TypeOf\")])]),_vm._v(\" returns an element of type \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Type\")])]),_vm._v(\" ! The method \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"NumField()\")])]),_vm._v(\" will return the count of fields in the struct. In our case, it will return 3.\")]),_c('p',[_vm._v(\"We will then iterate over the fields of the struct with the help of the method \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Field()\")])]),_vm._v(\" that takes the \"),_c('strong',[_vm._v(\"field index\")]),_vm._v(\" as argument. This last function will return a variable of type \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"StructField\")])]),_c('strong',[_vm._v(\":\")])]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// package reflect\\n// file: type.go\\ntype StructField struct {\\n Name string\\n PkgPath string\\n Type Type\\n Tag StructTag\\n Offset uintptr\\n Index []int\\n Anonymous bool\\n}\")])]),_c('p',[_vm._v(\"The type \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"StructTag\")])]),_vm._v(\" wraps a simple string. You have also access to conventional methods to manipulate the tags : \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Get()\")])])]),_c('p',[_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Lookup()\")])]),_vm._v(\" Let’s take an example for the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Get\")])]),_vm._v(\" method :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"//...\\n// for loop\\n fmt.Println(t.Field(i).Tag.Get(\\\"json\\\"))\\n//...\")])]),_c('p',[_vm._v(\"In the context of the previous code snippet this will output :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"id\\nname,omitempty\\n-\")])]),_c('p',[_vm._v(\"And now an example for the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Lookup\")])]),_vm._v(\" method. The purpose of the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Lookup\")])]),_vm._v(\" method is to find whether a tag is present or not :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/access-tags/main.go \\n\\nif tagValue, ok := t.Field(i).Tag.Lookup(\\\"test\\\"); ok {\\n fmt.Println(tagValue)\\n} else {\\n fmt.Println(\\\"no tag 'test'\\\")\\n}\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"how-to-create-your-tags\"}}),_c('h2',{attrs:{\"data-number\":\"9.4\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"9.4\")]),_vm._v(\" How to create your tags \"),_c('a',{attrs:{\"href\":\"#how-to-create-your-tags\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"JSON and XML tags are convenient; you might want to create your own struct tags for special use cases. The language expects a certain syntax:\")]),_c('figure',[_c('b-img',{staticClass:\"img-book\",attrs:{\"src\":require('@/assets/images/struct_tag.png'),\"alt\":\"Struct Tag format[fig:Struct-Tag-format]\",\"fluid\":\"\",\"thumbnail\":\"\"}}),_c('figcaption',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"Struct Tag format\"),_c('span',{attrs:{\"id\":\"fig:Struct-Tag-format\",\"label\":\"fig:Struct-Tag-format\"}},[_vm._v(\"[fig:Struct-Tag-format]\")])])],1),_c('p',[_vm._v(\"A tag is organized as a list of key-value elements. In the figure \"),_c('a',{attrs:{\"href\":\"#fig:Struct-Tag-format\",\"data-reference-type\":\"ref\",\"data-reference\":\"fig:Struct-Tag-format\"}},[_vm._v(\"1\")]),_vm._v(\" you can see that we have two elements. The first element has the \"),_c('strong',[_vm._v(\"json\")]),_vm._v(\" key and the value \"),_c('strong',[_vm._v(\"name, omitempty.\")]),_vm._v(\"The second element has the key \"),_c('strong',[_vm._v(\"xml\")]),_vm._v(\" and its value is \"),_c('strong',[_vm._v(\"Name.\")]),_vm._v(\" Note that elements are separated by \"),_c('strong',[_vm._v(\"spaces\")]),_vm._v(\".\")]),_c('p',[_vm._v(\"If we follow this model, we can create the following tag with three keys.\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"`myKey1:\\\"test,test2\\\" myKey2:\\\"yo\\\" myKey3:\\\"yoyooo\\\"`\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"marshal-unmarshal-xml\"}}),_c('h1',{attrs:{\"data-number\":\"10\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"10\")]),_vm._v(\" Marshal / Unmarshal XML \"),_c('a',{attrs:{\"href\":\"#marshal-unmarshal-xml\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"XML means e \"),_c('strong',[_vm._v(\"X\")]),_vm._v(\"tensible \"),_c('strong',[_vm._v(\"M\")]),_vm._v(\"arkup \"),_c('strong',[_vm._v(\"L\")]),_vm._v(\"anguage. It’s a file format that is designed to store information in a structured way. It’s still used today in certain domain, but it tends to decline in usage; mainly because it’s verbose (the messages encoded in XML need more space to be stored than JSON, for instance.\")]),_c('p',[_vm._v(\"For instance, this is the XML encoded product object :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\n 42\\n Tea Pot\\n TP12\\n \\n 2\\n Tea\\n \\n\")])]),_c('p',[_vm._v(\"And here is its equivalent in JSON :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"{\\n \\\"id\\\": 42,\\n \\\"name\\\": \\\"Tea Pot\\\",\\n \\\"sku\\\": \\\"TP12\\\",\\n \\\"category\\\": {\\n \\\"id\\\": 2,\\n \\\"name\\\": \\\"Tea\\\"\\n }\\n}\")])]),_c('ul',[_c('li',[_c('p',[_vm._v(\"JSON needs 95 chars\")])]),_c('li',[_c('p',[_vm._v(\"XML needs 111 chars to encode the same object\")])])]),_c('p',[_vm._v(\"Decode XML is as easy as decode JSON.\")]),_c('p',[_vm._v(\"First, you define a struct that will hold your data :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/decode/main.go \\n\\ntype MyXML struct {\\n Cat `xml:\\\"cat\\\"`\\n}\\n\\ntype Cat struct {\\n Name string `xml:\\\"name\\\"`\\n Age uint `xml:\\\"age\\\"`\\n}\")])]),_c('p',[_vm._v(\"We added XML struct tags to the struct (il allow the decoder to know where to find the fields’ values).\")]),_c('p',[_vm._v(\"Then you can call the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"xml.Unmarshal\")])]),_vm._v(\" function :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/decode/main.go \\n\\nfunc main() {\\n myXML := []byte(`\\n Ti\\n 23\\n`)\\n c := MyXML{}\\n err := xml.Unmarshal(myXML, &c)\\n if err != nil {\\n panic(err)\\n }\\n fmt.Println(c.Cat.Name)\\n fmt.Println(c.Cat.Age)\\n}\")])]),_c('p',[_vm._v(\"Encoding XML is also very easy; you can use the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"xml.Marshal\")])]),_vm._v(\", or like here, the function \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"xml.MarshalIndent\")])]),_vm._v(\" to display a pretty xml string :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/encode/main.go \\n\\nfunc main() {\\n p := Product{ID: 42, Name: \\\"Tea Pot\\\", SKU: \\\"TP12\\\", Price: 30.5, Category: Category{ID: 2, Name: \\\"Tea\\\"}}\\n bI, err := xml.MarshalIndent(p, \\\"\\\", \\\" \\\")\\n if err != nil {\\n panic(err)\\n }\\n xmlWithHeader := xml.Header + string(bI)\\n fmt.Println(xmlWithHeader)\\n}\")])]),_c('p',[_vm._v(\"Remember that you have to add a header to your XML :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\")])]),_c('p',[_vm._v(\"This header will give important information to the systems that will use your xml document. It gives information about the version of XML used (“1.0” in our case that dates back to 1998) and the encoding of your document. The parser will need this information to decode your document correctly.\")]),_c('p',[_vm._v(\"The xml package defines a constant that you can use directly :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"xmlWithHeader := xml.Header + string(bI)\")])]),_c('p',[_vm._v(\"Here is the XML produced :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\n\\n 42\\n Tea Pot\\n TP12\\n 30.5\\n \\n 2\\n Tea\\n \\n\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"xml.name-type\"}}),_c('h1',{attrs:{\"data-number\":\"11\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"11\")]),_vm._v(\" xml.Name type \"),_c('a',{attrs:{\"href\":\"#xml.name-type\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"If you create a variable of the following type\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type MyXmlElement struct {\\n Name string `xml:\\\"name\\\"`\\n}\")])]),_c('p',[_vm._v(\"and if you marshal it, the result will be :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\n Testing\\n\")])]),_c('p',[_vm._v(\"We can control the marshaling process of the property “name”, but we do not have control over the way the element \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"MyXmlElement\")])]),_c('strong',[_vm._v(\".\")]),_vm._v(\" For the moment, if we want to change the name of this property to something else, we have to change the name of our type... Which is not very convenient.\")]),_c('p',[_vm._v(\"You can add a special field to your struct to control the name of the XML element :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type MyXmlElement struct {\\n XMLName xml.Name `xml:\\\"myOwnName\\\"`\\n Name string `xml:\\\"name\\\"`\\n}\")])]),_c('p',[_vm._v(\"The field has to be named \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"XMLName\")])]),_c('strong',[_vm._v(\",\")]),_vm._v(\"the type must be \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"xml.Name\")])]),_vm._v(\" and in the tag, you can put the desired name of the element (that will be injected during the marshaling process).\")]),_c('p',[_vm._v(\"Let’s take an example :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/xmlNameType/main.go\\npackage main\\n\\nimport (\\n \\\"encoding/xml\\\"\\n \\\"fmt\\\"\\n)\\n\\ntype MyXmlElement struct {\\n XMLName xml.Name `xml:\\\"myOwnName\\\"`\\n Name string `xml:\\\"name\\\"`\\n}\\n\\nfunc main() {\\n elem := MyXmlElement{Name: \\\"Testing\\\"}\\n m, err := xml.MarshalIndent(elem, \\\"\\\", \\\" \\\")\\n if err != nil {\\n panic(err)\\n }\\n fmt.Println(string(m))\\n\\n}\")])]),_c('p',[_vm._v(\"This program will output :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\n Testing\\n\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"specificity-of-xml-tags\"}}),_c('BuyCopyInvite'),_c('h1',{attrs:{\"data-number\":\"12\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"12\")]),_vm._v(\" Specificity of XML tags \"),_c('a',{attrs:{\"href\":\"#specificity-of-xml-tags\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"In addition to the omit empty (\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"omitempty\")])]),_vm._v(\") and the ignore directive (“\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"-\")])]),_vm._v(\"”) the standard library offers you a large palette of tag values :\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"attributes\"}}),_c('h2',{attrs:{\"data-number\":\"12.1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"12.1\")]),_vm._v(\" Attributes \"),_c('a',{attrs:{\"href\":\"#attributes\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"You can add specific attributes to a field with XML. For instance :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"123\")])]),_c('p',[_vm._v(\"Here the field is named \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"price\")])]),_vm._v(\" and there is an attribute named \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"currency\")])]),_vm._v(\". You can use the following struct type to encode/decode it :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Price struct {\\n Text string `xml:\\\",chardata\\\"`\\n Currency string `xml:\\\"currency,attr\\\"`\\n}\\n\\ntype Product struct {\\n Price Price `xml:\\\"price\\\"`\\n Name string `xml:\\\"name\\\"`\\n}\")])]),_c('p',[_vm._v(\"We have defined a struct named Price with two fields : \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Text\")])]),_vm._v(\" that will contain the price (“123” in the example)\")]),_c('p',[_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Currency\")])]),_vm._v(\" that will contain the value of the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"currency\")])]),_vm._v(\" attribute (“EUR” in the example) Note the tags used. To get the price, the tag is\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"`xml:\\\",chardata\\\"`\")])]),_c('p',[_vm._v(\"It tells Go to get the data contained between the tags opening and the closing\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"price\")])]),_vm._v(\" tag. To get attributes, you have to use the keyword \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"attr\")])]),_vm._v(\" and the attribute name. The field is written as “character data” not has an xml element.\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"`xml:\\\"currency,attr\\\"`\")])]),_c('p',[_vm._v(\"You always begin with the name of the attribute.\")]),_c('figure',[_c('b-img',{staticClass:\"img-book\",attrs:{\"src\":require('@/assets/images/xml_attr.png'),\"alt\":\"XML attribute and struct tags\",\"fluid\":\"\",\"thumbnail\":\"\"}}),_c('figcaption',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"XML attribute and struct tags\")])],1),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"cdata\"}}),_c('h2',{attrs:{\"data-number\":\"12.2\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"12.2\")]),_vm._v(\" CDATA \"),_c('a',{attrs:{\"href\":\"#cdata\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"If you want to transfer XML via XML, you can use CDATA fields. CDATA fields allow you to inject characters like > and < into your XML message. If you inject that kind of data without a CDATA field, your XML could become invalid.\")]),_c('p',[_vm._v(\"Let’s take an example. We add to our XML a field \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"myXml\")])]),_vm._v(\" which is populated with character data. Note that character data is enclosed by \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"![CDATA[*and \\\\lstinline!]]>!\\\\textbf{.} The value of this field is therefore \\\\lstinline!\")])]),_vm._v(\"yo>12!\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\n 123\\n 12]]>\\n Kit\\n\")])]),_c('p',[_vm._v(\"Here is a valid type struct that will allow you to retrieve the value of myXml :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/CDATA/main.go \\n\\ntype Product struct {\\n Price Price `xml:\\\"price\\\"`\\n Name string `xml:\\\"name\\\"`\\n MyXml MyXml `xml:\\\"myXml\\\"`\\n}\\n\\ntype MyXml struct {\\n Text string `xml:\\\",cdata\\\"`\\n}\")])]),_c('p',[_vm._v(\"Note that we created the type struct \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"MyXml\")])]),_vm._v(\" that has a single field \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Text\")])]),_vm._v(\". This single field has the following tag :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"`xml:\\\",cdata\\\"`\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"comments\"}}),_c('h2',{attrs:{\"data-number\":\"12.3\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"12.3\")]),_vm._v(\" Comments \"),_c('a',{attrs:{\"href\":\"#comments\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"Unlike JSON, you can add comments in your XML :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/comments/main.go \\n\\ntype Price struct {\\n Text string `xml:\\\",chardata\\\"`\\n Currency string `xml:\\\"currency,attr\\\"`\\n}\\n\\ntype Product struct {\\n Comment string `xml:\\\",comment\\\"`\\n Price Price `xml:\\\"price\\\"`\\n Name string `xml:\\\"name\\\"`\\n}\")])]),_c('p',[_vm._v(\"Here we added a field named \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Comment\")])]),_vm._v(\" to our type struct \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Product\")])]),_vm._v(\". The special \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"comment\")])]),_vm._v(\" tag is added to the field.\")]),_c('p',[_vm._v(\"Let’s take create a \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Product\")])]),_vm._v(\" and marshal it in XML :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/comments/main.go \\n\\nc := Product{}\\nc.Comment = \\\"this is my comment\\\"\\nc.Price = Price{Text : \\\"123\\\",Currency:\\\"EUR\\\"}\\nc.Name = \\\"testing\\\"\\n\\nb, err := xml.MarshalIndent(c,\\\"\\\",\\\" \\\")\\nif err != nil {\\n panic(err)\\n}\\nfmt.Println(string(b))\")])]),_c('p',[_vm._v(\"This script will output :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\n \\n 123\\n testing\\n\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"nested-fields\"}}),_c('h2',{attrs:{\"data-number\":\"12.4\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"12.4\")]),_vm._v(\" Nested fields \"),_c('a',{attrs:{\"href\":\"#nested-fields\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"A simple field can be nested into several XML elements :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// json-xml/xml/nesting/main.go\\npackage main\\n\\nimport (\\n \\\"encoding/xml\\\"\\n \\\"fmt\\\"\\n)\\n\\ntype Product struct {\\n Name string `xml:\\\"first>second>third\\\"`\\n}\\n\\nfunc main() {\\n c := Product{}\\n c.Name = \\\"testing\\\"\\n b, err := xml.MarshalIndent(c, \\\"\\\", \\\" \\\")\\n if err != nil {\\n panic(err)\\n }\\n fmt.Println(string(b))\\n}\")])]),_c('p',[_vm._v(\"The previous script will output :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"\\n \\n \\n testing\\n \\n \\n\")])]),_c('p',[_vm._v(\"You can see that the value of the field \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Name\")])]),_vm._v(\" (\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"\\\"testing\\\"\")])]),_vm._v(\") is enclosed into the element \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"\\\"third\\\"\")])]),_vm._v(\" which is also enclosed into the element \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"\\\"second\\\"\")])]),_vm._v(\" and \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"\\\"first\\\"\")])])]),_c('p',[_vm._v(\"That’s because we specified it in our struct tag :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"`xml:\\\"first>second>third\\\"`\")])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"struct-type-generators\"}}),_c('h1',{attrs:{\"data-number\":\"13\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"13\")]),_vm._v(\" Struct type generators \"),_c('a',{attrs:{\"href\":\"#struct-type-generators\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"Building a struct can be time consuming. Especially if you have to deal with complex JSON/XML structures. I can advise you to use those two tools :\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"For JSON :\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"https://github.com/mholt/json-to-go has been built by Matt Holt.\")])]),_c('li',[_c('p',[_vm._v(\"This is an online generator.\")])]),_c('li',[_c('p',[_vm._v(\"Simply copy your JSON, paste it and let the tool generate the corresponding struct(s).\")])])])]),_c('li',[_c('p',[_vm._v(\"For XML :\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"https://github.com/miku/zek\")])]),_c('li',[_c('p',[_vm._v(\"It has been made available by Martin Czygan.\")])]),_c('li',[_c('p',[_vm._v(\"This is a CLI tool that allows you to generate structs based on sample XML\")])])])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"custom-json-marshaler-unmarshaler-advanced\"}}),_c('h1',{attrs:{\"data-number\":\"14\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"14\")]),_vm._v(\" Custom JSON Marshaler / Unmarshaler (advanced) \"),_c('a',{attrs:{\"href\":\"#custom-json-marshaler-unmarshaler-advanced\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"In case you to use a \"),_c('strong',[_vm._v(\"specific logic\")]),_vm._v(\" for marshaling a type to JSON, you can create your \"),_c('strong',[_vm._v(\"custom\")]),_vm._v(\" Marshaler and Unmarshaler.\")]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"custom-unmarshaler\"}}),_c('h2',{attrs:{\"data-number\":\"14.1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"14.1\")]),_vm._v(\" Custom Unmarshaler \"),_c('a',{attrs:{\"href\":\"#custom-unmarshaler\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"To create a custom JSON unmarshaler, you will have to implement the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Unmarshaler\")])]),_vm._v(\" interface.\")]),_c('p',[_vm._v(\"Here is the definition of the interface :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Unmarshaler interface {\\n UnmarshalJSON([]byte) error\\n}\")])]),_c('p',[_vm._v(\"It has a unique method specified : \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"UnmarshalJSON([]byte) error\")])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"example-time.time\"}}),_c('h3',{attrs:{\"data-number\":\"14.1.1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"14.1.1\")]),_vm._v(\" Example: time.Time \"),_c('a',{attrs:{\"href\":\"#example-time.time\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"Let’s take an example implementation for the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"time.Time\")])]),_vm._v(\" type. JSON strings may contain time strings. Those time strings can be converted to time.Time values :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"[\\n {\\n \\\"id\\\": 1,\\n \\\"first_name\\\": \\\"Hedvig\\\",\\n \\\"last_name\\\": \\\"Largen\\\",\\n \\\"created_at\\\": \\\"2020-07-02T08:41:35Z\\\"\\n },\\n {\\n \\\"id\\\": 2,\\n \\\"first_name\\\": \\\"Win\\\",\\n \\\"last_name\\\": \\\"Alloisi\\\",\\n \\\"created_at\\\": \\\"2020-02-21T12:36:41Z\\\"\\n }\\n]\")])]),_c('ul',[_c('li',[_vm._v(\"In this JSON, we have a collection of persons. Each person has a created_date. We want to Unmarshal this data to the variable \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"users\")])]),_vm._v(\" (a slice of \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"User\")])]),_vm._v(\"):\")])]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type User struct {\\n ID int `json:\\\"id\\\"`\\n Firstname string `json:\\\"first_name\\\"`\\n Lastname string `json:\\\"last_name\\\"`\\n CreatedDate time.Time `json:\\\"created_at\\\"`\\n}\\nusers := make([]User,2)\")])]),_c('p',[_vm._v(\"For each type, Go will check if it has a custom unmarshaler.\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"The type time.Time defines a custom JSON unmarshaller.\")])]),_c('li',[_c('p',[_vm._v(\"In other words, the type has a method named \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"UnmarshalJSON\")])]),_vm._v(\" with the signature \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"([]byte) error\")])])])]),_c('li',[_c('p',[_vm._v(\"In other words \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"time.Time\")])]),_vm._v(\" implements the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Unmarshaler\")])]),_vm._v(\" interface\")])])]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// UnmarshalJSON implements the json.Unmarshaler interface.\\n// The time is expected to be a quoted string in RFC 3339 format.\\nfunc (t *Time) UnmarshalJSON(data []byte) error {\\n // Ignore null, like in the main JSON package.\\n if string(data) == \\\"null\\\" {\\n return nil\\n }\\n // Fractional seconds are handled implicitly by Parse.\\n var err error\\n *t, err = Parse(`\\\"`+RFC3339+`\\\"`, string(data))\\n return err\\n}\")])]),_c('ul',[_c('li',[_c('p',[_vm._v(\"In this method, the value null is ignored.\")]),_c('ul',[_c('li',[_vm._v(\"If there is a “null” in the JSON string for the property \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"\\\"created_at\\\"\")])]),_vm._v(\" then the value of the field \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"CreatedAt\")])]),_vm._v(\" will be the zero value of time.Time, which is January 1, year 1, 00:00:00.000000000 UTC.\")])])]),_c('li',[_c('p',[_vm._v(\"Then the method will attempt to parse the value stored in data :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"*t, err = Parse(`\\\"`+RFC3339+`\\\"`, string(data))\")])]),_c('ul',[_c('li',[_c('p',[_vm._v(\"This line will parse the time with the format \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"\\\"2006-01-02T15:04:05Z07:00\\\"\")])]),_vm._v(\" (\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"RFC3339\")])]),_vm._v(\" is a constant of the package)\")])]),_c('li',[_c('p',[_vm._v(\"Note that the enclosing double quotes are enclosing the parsing format.\")])]),_c('li',[_c('p',[_vm._v(\"That’s because the value in JSON has the format\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"\\\"2020-07-02T08:41:35Z\\\"\")])]),_vm._v(\" and not \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"2020-07-02T08:41:35Z\")])]),_vm._v(\" !\")])])])])]),_c('p',[_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"time.Parse\")])]),_vm._v(\" returns the value parsed or an error\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"The value parsed is assigned to \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"*t\")])])]),_c('ul',[_c('li',[_vm._v(\"We use the dereference operator \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"*\")])]),_vm._v(\" to set the value at the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"t\")])]),_vm._v(\" address (\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"t\")])]),_vm._v(\" is a pointer type)\")])])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"custom-marshaller\"}}),_c('h2',{attrs:{\"data-number\":\"14.2\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"14.2\")]),_vm._v(\" Custom Marshaller \"),_c('a',{attrs:{\"href\":\"#custom-marshaller\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('p',[_vm._v(\"Here is the interface that you will need to implement on your type :\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Marshaler interface {\\n MarshalJSON() ([]byte, error)\\n}\")])]),_c('p',[_vm._v(\"It is composed of one method named \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"MarshalJSON\")])]),_vm._v(\" with the signature \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"() ([]byte, error)\")])]),_vm._v(\".\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"A custom marshaller will output a slice of byte, which is the JSON marshaled\")])]),_c('li',[_c('p',[_vm._v(\"And an error.\")])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"example-time.time-1\"}}),_c('h3',{attrs:{\"data-number\":\"14.2.1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"14.2.1\")]),_vm._v(\" Example: time.Time \"),_c('a',{attrs:{\"href\":\"#example-time.time-1\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"// MarshalJSON implements the json.Marshaler interface.\\n// The time is a quoted string in RFC 3339 format, with sub-second precision added if present.\\nfunc (t Time) MarshalJSON() ([]byte, error) {\\n if y := t.Year(); y < 0 || y >= 10000 {\\n // RFC 3339 is clear that years are four digits exactly.\\n // See golang.org/issue/4556#c15 for more discussion.\\n return nil, errors.New(\\\"Time.MarshalJSON: year outside of range [0,9999]\\\")\\n }\\n\\n b := make([]byte, 0, len(RFC3339Nano)+2)\\n b = append(b, '\\\"')\\n b = t.AppendFormat(b, RFC3339Nano)\\n b = append(b, '\\\"')\\n return b, nil\\n}\")])]),_c('p',[_vm._v(\"Here is the implementation of \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Marshaller\")])]),_vm._v(\" interface for the type \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"Time\")])]),_vm._v(\". The idea is to transform a value of type Time into its JSON representation.\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"First, the year is checked; it must be between 0 and 9999 (no more than four digits)\")])]),_c('li',[_c('p',[_vm._v(\"Then a slice of byte \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"b\")])]),_vm._v(\" is created.\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"The slice has a length equal to 0, and a capacity of \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"len(RFC3339Nano)+2\")])]),_vm._v(\".\")])]),_c('li',[_c('p',[_vm._v(\"The time will be outputed following the format described in the constant\"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"RFC3339Nano\")])])])]),_c('li',[_c('p',[_vm._v(\"2 is added to the format’s length for handling the two double quotes (2 bytes).\")])])])]),_c('li',[_c('p',[_vm._v(\"A single, double quote is then added to the slice\")])]),_c('li',[_c('p',[_vm._v(\"Then the time formatted is appended to the slice with the method \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"AppendFormat\")])])])]),_c('li',[_c('p',[_vm._v(\"Another double quote is added to \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"b\")])]),_vm._v(\" (the closing one)\")])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"test-yourself\"}}),_c('h1',{attrs:{\"data-number\":\"15\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"15\")]),_vm._v(\" Test yourself \"),_c('a',{attrs:{\"href\":\"#test-yourself\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"questions\"}}),_c('h2',{attrs:{\"data-number\":\"15.1\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"15.1\")]),_vm._v(\" Questions \"),_c('a',{attrs:{\"href\":\"#questions\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_c('p',[_vm._v(\"Which method can you use to convert a variable into JSON?\")])]),_c('li',[_c('p',[_vm._v(\"Which method can you use to convert a JSON string into a variable of a certain type?\")])]),_c('li',[_c('p',[_vm._v(\"How to change how a field name on a struct is displayed into JSON?\")])]),_c('li',[_c('p',[_vm._v(\"How to change how a field name on a struct is displayed into XML?\")])]),_c('li',[_c('p',[_vm._v(\"What is the difference between encoding and marshaling?\")])]),_c('li',[_c('p',[_vm._v(\"How to customize the JSON output of a type?\")])]),_c('li',[_c('p',[_vm._v(\"How to customize how Go will parse an element of a given type in JSON?\")])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"answers\"}}),_c('h2',{attrs:{\"data-number\":\"15.2\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"15.2\")]),_vm._v(\" Answers \"),_c('a',{attrs:{\"href\":\"#answers\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_c('p',[_vm._v(\"Which method can you use to convert a variable into JSON?\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"json.Marshal\")])])]),_c('li',[_c('p',[_vm._v(\"Which method can you use to convert a JSON string into a variable of a certain type?\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"json.Unmarshal\")])])]),_c('li',[_c('p',[_vm._v(\"How to change how a field name on a struct is displayed into JSON?\")]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_c('p',[_vm._v(\"With a struct tag\")])]),_c('li',[_c('p',[_vm._v(\"Ex :\")])])]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type User struct {\\n ID int `json:\\\"id\\\"`\\n}\")])]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_vm._v(\"The struct tag is \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"`json:\\\"id\\\"`\")])])])])]),_c('li',[_c('p',[_vm._v(\"How to change how a field name on a struct is displayed into XML?\")]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_c('p',[_vm._v(\"With a struct tag\")])]),_c('li',[_c('p',[_vm._v(\"ex : \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"`xml:\\\"id\\\"`\")])])])])])]),_c('li',[_c('p',[_vm._v(\"What is the difference between encoding and marshaling?\")]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_c('p',[_vm._v(\"Encoding and marshaling refer to the same process\")])]),_c('li',[_c('p',[_vm._v(\"The term encoding is used when you have to transform a data stream into a coded form\")])]),_c('li',[_c('p',[_vm._v(\"Marshaling is used when you have to transform a variable into a coded form\")])])])]),_c('li',[_c('p',[_vm._v(\"How to customize the JSON representation of a type?\")]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_vm._v(\"Implement the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Marshaler\")])]),_vm._v(\" interface on your type\")])])]),_c('li',[_c('p',[_vm._v(\"How to customize how Go will parse an element of a given type in JSON?\")]),_c('ol',{attrs:{\"type\":\"1\"}},[_c('li',[_vm._v(\"Implement the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Unmarshaler\")])]),_vm._v(\" interface on your type\")])])])]),_c('div',{staticClass:\"anchor\",attrs:{\"id\":\"key-takeaways\"}}),_c('BuyCopyInvite'),_c('h1',{attrs:{\"data-number\":\"16\"}},[_c('span',{staticClass:\"header-section-number\"},[_vm._v(\"16\")]),_vm._v(\" Key takeaways \"),_c('a',{attrs:{\"href\":\"#key-takeaways\"}},[_c('b-icon-link45deg',{staticClass:\"heading-link-icon\",attrs:{\"font-scale\":\"0.7\"}})],1)]),_c('ul',[_c('li',[_c('p',[_vm._v(\"JSON (JavaScript Object Notation) is a popular format used to represent structured data easily readable by a human or machine.\")])]),_c('li',[_c('p',[_vm._v(\"XML (e \"),_c('strong',[_vm._v(\"X\")]),_vm._v(\"tensible \"),_c('strong',[_vm._v(\"M\")]),_vm._v(\"arkup \"),_c('strong',[_vm._v(\"L\")]),_vm._v(\"anguage) is also used to represent structured data.\")])]),_c('li',[_c('p',[_vm._v(\"“convert a variable into a coded form” = “\"),_c('strong',[_vm._v(\"marshaling\")]),_vm._v(\"”\")])]),_c('li',[_c('p',[_vm._v(\"“convert a coded form into a variable” = “\"),_c('strong',[_vm._v(\"unmarshaling\")]),_vm._v(\"”\")])]),_c('li',[_c('p',[_vm._v(\"“convert a data stream into a coded form” = “\"),_c('strong',[_vm._v(\"encoding\")]),_vm._v(\"”\")])]),_c('li',[_c('p',[_vm._v(\"“convert a coded form into a data stream” = “\"),_c('strong',[_vm._v(\"decoding\")]),_vm._v(\"”\")])]),_c('li',[_c('p',[_vm._v(\"To convert a variable into JSON/XML, we can use \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Marshal\")])]),_vm._v(\" / \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"xml.Marshal\")])])])]),_c('li',[_c('p',[_vm._v(\"To convert JSON/XML into a variable, we can use \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"json.Unmarshal\")])]),_vm._v(\" / \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"xml.Unmarshal\")])])])]),_c('li',[_c('p',[_vm._v(\"Struct tags allow you to modify how a field will be outputed in JSON/XMLName\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type Product struct {\\n Price Price `xml:\\\"price\\\"`\\n Name string `xml:\\\"name\\\"`\\n MyXml MyXml `xml:\\\"myXml\\\"`\\n}\")])])]),_c('li',[_c('p',[_vm._v(\"To get the value of a struct tag, you will have to use the \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"reflect\")])]),_vm._v(\" standard package\")]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"p:= Product{ID:32}\\nt := reflect.TypeOf(p)\\nfor i := 0; i < t.NumField(); i++ {\\n fmt.Printf(\\\"field Name : %s\\\\n\\\",t.Field(i).Name)\\n fmt.Printf(\\\"field Tag : %s\\\\n\\\",t.Field(i).Tag)\\n}\")])])]),_c('li',[_c('p',[_vm._v(\"Some specific struct tags values\")]),_c('ul',[_c('li',[_c('p',[_vm._v(\"Skip a field : \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"`json:\\\"-\\\"`\")])]),_vm._v(\" (will be hidden in JSON, XML)\")])]),_c('li',[_c('p',[_vm._v(\"Do not output empty values : \"),_c('span',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\",\"style\":\"display: inline\"}},[_vm._v(\"`json:\\\"first_name,omitempty\\\"`\")])])])])])]),_c('li',[_c('p',[_vm._v(\"You can combine struct tags for JSON with other struct tags\")]),_c('ul',[_c('li',[_vm._v(\"For instance xml struct tags\")])]),_c('pre',{directives:[{name:\"highlightjs\",rawName:\"v-highlightjs\"}]},[_c('code',{pre:true,attrs:{\"class\":\"go\"}},[_vm._v(\"type User struct {\\n ID int `json:\\\"id\\\" xml:\\\"id\\\"`\\n}\")])])])]),_c('section',{staticClass:\"footnotes\",attrs:{\"role\":\"doc-endnotes\"}},[_c('hr'),_c('ol',[_c('li',{attrs:{\"id\":\"fn1\",\"role\":\"doc-endnote\"}},[_c('p',[_vm._v(\"Panic is not recommended in a real-life program; you should handle the error and use a proper exit logic\"),_c('a',{staticClass:\"footnote-back\",attrs:{\"href\":\"#fnref1\",\"role\":\"doc-backlink\"}},[_vm._v(\"↩︎\")])])])])]),_c('h1',[_vm._v(\"Bibliography\")]),_c('ChapterBibliography',{attrs:{\"chapter-id\":\"Chap25JsonAndXml\"}}),_c('b-row',{staticClass:\"ml-1 mr-1 \"},[_c('b-col',{staticClass:\"text-center border mr-1 p-2\"},[_c('router-link',{attrs:{\"to\":{name:'Chap24AnonymousFunctionsAndClosures'}}},[_c('p',[_c('u',[_c('small',[_vm._v(\"Previous\")])])]),_c('p',[_c('small',[_vm._v(\"Anonymous functions & closures\")])])])],1),_c('b-col',{staticClass:\"text-center border p-1 \"},[_c('router-link',{attrs:{\"to\":{name:'Chap26BasicHttpServer'}}},[_c('p',[_c('u',[_c('small',[_vm._v(\"Next\")])])]),_c('p',[_c('small',[_vm._v(\"Basic HTTP Server\")])])])],1)],1),_c('b-row',{staticClass:\"mt-1 ml-1 mr-1\"},[_c('b-col',{staticClass:\"text-center border p-1 \"},[_c('b-link',{attrs:{\"to\":{name:'Home'}}},[_vm._v(\"Table of contents\")])],1)],1),_c('FeedbackInvite'),_c('NewsletterInput'),_c('Footer')],1),_c('b-col')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Chap25JsonAndXml.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Chap25JsonAndXml.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Chap25JsonAndXml.vue?vue&type=template&id=5bc958a4&scoped=true&\"\nimport script from \"./Chap25JsonAndXml.vue?vue&type=script&lang=js&\"\nexport * from \"./Chap25JsonAndXml.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5bc958a4\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/xml_attr.442fb0bb.png\";","module.exports = __webpack_public_path__ + \"img/struct_tag.ce137ff6.png\";","module.exports = __webpack_public_path__ + \"img/type_struct_to_json.4a2ee4f3.png\";"],"sourceRoot":""}