Summary
IJsonBinder is a way to bind complex objects, with nested keys.
- Assembly
- Rocket
.Surgery .Extensions .Binding .dll - Namespace
- Rocket
.Surgery .Binding - Interfaces
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IJsonBinder"]
click Interface0 "/api/Rocket.Surgery.Binding/IJsonBinder"
Type["JsonBinder"]
class Type type-node
Syntax
public class JsonBinder : IJsonBinder
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| JsonBinder |
|
| JsonBinder |
|
| JsonBinder |
|
| JsonBinder |
Initializes a new instance of the JsonBinder class.
|
| JsonBinder |
Initializes a new instance of the JsonBinder class.
|
| JsonBinder |
Methods
| Name | Value | Summary |
|---|---|---|
| Bind |
object |
Bind the values to the source type
|
| Bind |
object |
Bind the values to the source type
|
| Bind |
T |
Bind the values to the source type
|
| Bind |
T |
Bind the values to the source type
|
| From |
IEnumerable |
Get a list of key value pairs for the given source object
|
| From |
IEnumerable |
Get a list of key value pairs for the given source object
|
| GetValues |
IEnumerable |
Get a list of
Newtonsoft.Json.Linq.JValue's for a given object
|
| GetValues |
IEnumerable |
Get a list of
Newtonsoft.Json.Linq.JValue's for a given object
|
| Parse |
JObject |
Parses the given key value pairs into a
Newtonsoft.Json.Linq.JObject.
|
| Populate |
T |
Populate the values to the source type
|
| Populate |
T |
Populate the values to the source type
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
| With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
