ghttp_request_body_as_json   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm

Implementation

;; TODO should check for Content-Type
(bind-func ghttp_request_body_as_json
  (lambda (request:ghttp_request*)
    (let ((err:json_error_t* (zalloc)))
      (let ((json (json_loadb (ghttp_get_body request)
                              (convert (ghttp_get_body_len request))
                              0
                              err)))
        ;; (if (null? json)
        ;;     (printf "JSON error on line %d: %s\n" (tref err 0) (tref err 4)))
        (ghttp_request_destroy request)
        json))))


Back to Index

Similar Entries

  • Casec    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Casech    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Casin    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Casinh    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/gsl.xtm
  • Complex_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • Complex_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/math.xtm
  • Complex_phase2    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • PARAM_OSC1_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC2_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC3_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PARAM_OSC4_PHASE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • PaStreamCallbackTimeInfo_print    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • PaStreamCallbackTimeInfo_toString    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • PaStreamInfo_print    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • PaStreamInfo_toString    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • PaStreamParameters_print    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • PaStreamParameters_toString    xtlang    /digego/extempore/tree/v0.8.9/libs/external/portaudio.xtm
  • aiProcess_ValidateDataStructure    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • analogue_drwho_bass    xtlang    /digego/extempore/tree/v0.8.9/examples/core/covers.xtm
  • analogue_oxygene_bass    xtlang    /digego/extempore/tree/v0.8.9/examples/core/covers.xtm
  • analogue_oxygene_bass    xtlang    /digego/extempore/tree/v0.8.9/examples/core/synth.xtm
  • assimp_load_model    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • assimp_load_model    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • assimp_load_model    scheme    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • assoc    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • assq    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • assv    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • astra    scheme    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • astra_bitmapmask_t    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/orbbec_astra.xtm
  • astra_readX    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • astra_reader    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • astra_sensor    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • astra_start_body    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • astra_start_rgb    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • astra_stop    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • async    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xthread.xtm
  • async    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xthread.xtm
  • async_done    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xthread.xtm
  • async_kill    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xthread.xtm
  • audio_callback:PaStreamCallback    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/portaudio.xtm
  • audio_callback:PaStreamCallback    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/portaudio.xtm
  • axiom-of-association    macro    /digego/extempore/tree/v0.8.9/libs/core/pattern.xtm
  • axiom-of-association?    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern.xtm
  • basic_note    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/basicsynth.xtm
  • bass    scheme    /digego/extempore/tree/v0.8.9/examples/external/electrofunk.xtm
  • bind-alias    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • call-as-xtlang    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • call-as-xtlang-leaky    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • cas    macro    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • cas-xtm-to-string    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • cas2sexpr    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • cas2xtm    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • cas2xtm_scm    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • cas_expand_term    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • cas_parse_terms    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • caspp    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • casppoff    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • casppon    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • casq    macro    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • cef_init_base    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • cerberus_extras_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus_midi.xtm
  • cl:assoc-adjoin    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cl:assoc-union    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cl:butlast    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cl:has-duplicates?    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • cl:last    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • curl_perform_request    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request_with_auth    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_request_with_header    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • curl_setopts_basic    xtlang    /digego/extempore/tree/v0.8.9/libs/external/curl.xtm
  • dl_base_frq    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_base_frq    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_base_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_base_frq_scale    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc1_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • dl_osc2_phase    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/dlogue.xtm
  • draw_color_body_frame    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • draw_color_body_frame_with_hands    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/orbbec_test.xtm
  • extras_cc    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue_midi.xtm
  • fastsin    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audio_dsp.xtm
  • fluid-cube-get-last-column    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • fluid-cube-get-last-row    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • fluid-cube-set-last-column    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • fluid-cube-set-last-row    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • generic-assoc    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • get_request_handler    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • ghttp_copy_request_body_into_buffer    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_DELETE    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_GET    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_POST_default    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_POST_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_POST_string    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_PUT_default    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_PUT_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_PUT_string    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_perform_request_with_setup_fn    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_body    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_full    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_print_request_headers    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_html    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_json    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_octet_stream    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_content_type_plaintext    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • ghttp_set_extempore_user_agent    xtlang    /digego/extempore/tree/v0.8.9/libs/external/ghttp.xtm
  • godot_string_ascii    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_as_int    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_as_object    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_as_real    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_as_string    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • godot_variant_new_basis    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • gui_keyrelease_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • has_document    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • has_one_ref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • impc:aot:insert-typealias-binding-details    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:compiler:print-bad-type-error-with-ast    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:compiler:print-variable-not-marked-as-free-error    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:compiler:bitcast    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:get-base-type    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:get-base-type-g    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:bitcast-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-closure-body    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-generic-type-as-tuple    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-typealias-docstring    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-typealias-ground-type    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-typealias-ground-type-pretty    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-typealias-type    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:get-typealias-type-pretty    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:numeric-cast-operator    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:print-typealias-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:register-new-typealias    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:reset-typealias-cache    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:set-closure-body    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:set-typealias-docstring    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:typealias-exists?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:word-downcase    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:word-upcase    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • json_array_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_decref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_false_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_incref    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_integer_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_null_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_obj_iterator    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_object_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_object_print_keys    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_print_type    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_real_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_string_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_true_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • json_typeof    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • kinect_print_body    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/kinect2.xtm
  • kinect_update_body    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/kinect2.xtm
  • last    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • last    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • last-pair    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • llvm:asm    macro    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • load_assim_material_texture    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm
  • ocv_scheme_release_object    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_scheme_release_window    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • p:assert-match    scheme    /digego/extempore/tree/v0.8.9/libs/base/pattern.xtm
  • passthrough-frag    scheme    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline-scm.xtm
  • passthrough-vert    scheme    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline-scm.xtm
  • phase_vocoder_PV    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • phase_vocoder_iPL    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • phase_vocoder_sPL    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/TSM_library.xtm
  • print_json_t    xtlang    /digego/extempore/tree/v0.8.9/libs/external/jansson.xtm
  • psystem_alphas    xtlang    /digego/extempore/tree/v0.8.9/libs/external/particles.xtm
  • register_class    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • release    xtlang    /digego/extempore/tree/v0.8.9/libs/external/cef/cef.xtm
  • request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • scmcas    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • send-fluid-last-row-osc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/fluid2d.xtm
  • send_request    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg-request.xtm
  • set_up_request_socket    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/nanomsg.xtm
  • sexpr2cas    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • sys_file_datasync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_datasync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • test_assoc_1    xtlang    /digego/extempore/tree/v0.8.9/tests/core/adt.xtm
  • type_class_test    xtlang    /digego/extempore/tree/v0.8.9/examples/core/typeclasses.xtm
  • world_ascii_print    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/game-of-life.xtm
  • world_basic_print    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/game-of-life.xtm
  • xobj_add_class    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xobject.xtm
  • xobj_class_exists    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xobject.xtm
  • xobj_database    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xobject.xtm
  • xobj_print_class    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xobject.xtm
  • xobj_print_classes    xtlang    /digego/extempore/tree/v0.8.9/libs/core/xobject.xtm
  • xtm-dump-asm    macro    /digego/extempore/tree/v0.8.9/libs/external/udis86.xtm
  • xtm_asm_dump    xtlang    /digego/extempore/tree/v0.8.9/libs/external/udis86.xtm
  • xtm_envmap_as_skybox    xtlang    /digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm
  • xtm_release_note    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments.xtm
  • xtmcas    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/cas.xtm
  • xtmdoc-export-caches-to-json    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-typealias-handler    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-write-alist-args-as-json    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmdoc-write-alist-as-json    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • xtmtest-result-body    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • xtmtest-result-body    scheme    /digego/extempore/tree/v0.8.9/libs/core/test.xtm
  • xtmtest-with-fixture-body    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • xtmtest-with-fixture-body    scheme    /digego/extempore/tree/v0.8.9/libs/core/test.xtm