RUST ASSIGNMENT PARSING AN ENCODED STRING ###Define the Parsing Rules ###Handle Different Value Types ###Construct the JSON ###Handling Errors