azure-devops 0.1.0

Idiomatic Rust client for Azure DevOps REST APIs
Documentation
1
2
3
4
5
6
use super::models::JsonPatchOperation;
use crate::error::Result;

pub(crate) fn serialize_patch(patch: &[JsonPatchOperation]) -> Result<serde_json::Value> {
    Ok(serde_json::to_value(patch)?)
}