public sealed class Struct : IMessage<Struct>, IEquatable<Struct>, IDeepCloneable<Struct>, IBufferMessage, IMessage
Struct represents a structured data value, consisting of fields
which map to dynamically typed values. In some languages, Struct
might be supported by a native representation. For example, in
scripting languages like JS a struct is represented as an
object. The details of that representation are described together
with the proto support for the language.
The JSON representation for Struct is JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["`Struct` in Google.Protobuf represents a structured data value with dynamically typed fields, similar to an object in scripting languages like JavaScript, and its JSON representation is a JSON object."],["The `Struct` class, found in the `Google.Protobuf.WellKnownTypes` namespace, implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message manipulation, comparison, deep cloning, and buffer operations."],["The `Fields` property within `Struct` is a map (`MapField`) that stores dynamically typed values, allowing for a flexible data structure where the keys are strings, and the values are of type `Value`."],["Key functionalities of the `Struct` class include methods for calculating message size (`CalculateSize`), creating deep clones (`Clone`), comparing instances for equality (`Equals`), generating hash codes (`GetHashCode`), and merging data from other messages or streams (`MergeFrom`)."],["`Struct` also supports serialization and deserialization through methods like `WriteTo` for writing to a `CodedOutputStream`, and several extension methods for handling message merging and conversion to byte arrays or strings."]]],[]]