:orphan:
# PetscPushJSONValue
Puts a "key" : "value" pair onto a string 
## Synopsis
```
PetscErrorCode PetscPushJSONValue(char buff[], const char key[], const char value[], size_t bufflen)
```

## Input Parameters

- ***buffer -*** the char array where the value will be put
- ***key -*** the key value to be set
- ***value -*** the value associated with the key
- ***bufflen -*** the size of the buffer (currently ignored)





## Note
Ignores lengths so can cause buffer overflow


## See Also
 `PetscOpenSocket()`, `PetscHTTPSRequest()`, `PetscSSLInitializeContext()`, `PetscPullJSONValue()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/webclient/client.c.html#PetscPushJSONValue">src/sys/webclient/client.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/webclient/client.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
