The _____ package in Go provides functionality to work with JSON data.

  • json
  • encoding/json
  • jsonutils
  • gojson
The correct answer is encoding/json. In Go, the encoding/json package provides functionality to work with JSON data. This package allows you to encode Go values into JSON format and decode JSON data into Go values. It offers various functions and types for working with JSON, including Marshal and Unmarshal functions, which are commonly used for encoding and decoding JSON data.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *