Searched defs:json (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/doveadm/
H A Ddoveadm-auth-server.c20 #include "json-parser.h"
431 string_t *json = t_str_new(64); local
440 str_truncate(json, 0);
441 json_append_escaped(json, *val);
450 o_stream_nsend_str(doveadm_print_ostream, str_c(json));
/dovecot/src/auth/
H A Dauth-policy.c13 #include "json-parser.h"
37 string_t *json; member in struct:policy_lookup_ctx
389 http_client_request_add_header(context->http_request, "Content-Type", "application/json");
405 struct istream *is = i_stream_create_from_buffer(context->json);
449 context->json = str_new(context->pool, 64);
480 str_append_c(context->json, '{');
483 if (auth_request_var_expand_with_table(context->json, auth_policy_json_template,
490 str_append(context->json, ",\"success\":");
493 str_append(context->json, "true");
495 str_append(context->json, "fals
[all...]

Completed in 13 milliseconds