-
-
Notifications
You must be signed in to change notification settings - Fork 115
Concept: JSON Decoders #538
Copy link
Copy link
Closed
Labels
x:action/createWork on something from scratchWork on something from scratchx:knowledge/intermediateQuite a bit of Exercism knowledge requiredQuite a bit of Exercism knowledge requiredx:module/conceptWork on ConceptsWork on Conceptsx:module/concept-exerciseWork on Concept ExercisesWork on Concept Exercisesx:priority/highHas a higher priority than other issuesHas a higher priority than other issuesx:size/largeLarge amount of workLarge amount of workx:type/contentWork on content (e.g. exercises, concepts)Work on content (e.g. exercises, concepts)
Metadata
Metadata
Assignees
Labels
x:action/createWork on something from scratchWork on something from scratchx:knowledge/intermediateQuite a bit of Exercism knowledge requiredQuite a bit of Exercism knowledge requiredx:module/conceptWork on ConceptsWork on Conceptsx:module/concept-exerciseWork on Concept ExercisesWork on Concept Exercisesx:priority/highHas a higher priority than other issuesHas a higher priority than other issuesx:size/largeLarge amount of workLarge amount of workx:type/contentWork on content (e.g. exercises, concepts)Work on content (e.g. exercises, concepts)
Design
Goal
The Goal is to learn to use the
Json.DecodeandJson.Encodemodules.Learning objectives
Students should be able to
Value(Json.Encode.object,listand other primitives)encode)bool,int,string...)list,dict,nullable)field,at)maybe,oneOf)map,andThen,succeed)decodeString)Out of scope
array,set)array,keyValuePairs,oneOrMore,index,null,value)Errorandfaillazy, a quick mention is fine)Concepts
The concept this exercise unlocks is:
jsonPrerequisites
Analyzer
TBD depending on the exercise
Comments
rest-apifirst to have one practice exercise