Apex String

Input representation for a key-value pair.

JSON Example 

1{
2  "key": "FieldName__c",
3  "value": "FieldValue"
4}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
keyStringAPI name of the field.Optional65.0
valueStringValue to assign to the field.Optional65.0