libstud-json/0.1.0

[full]

JSON pull-parser/push-serializer library for C++

A portable, dependency-free, MIT-licensed JSON pull-parser/push-serializer library for C++.

Typical parser usage:

#include <iostream>

#include <libstud/json/parser.hxx>

int main ()
{
  using namespace stud::json;

  parser p (std::cin, "<stdin>");

  for (event e: p)
  {
    switch (e)
    {
    case event::begin_object:
      // ...
    case event::end_object:
      // ...
    case event::name:
      {
        const std::string& n (p.name ());
        // ...
      }
    case event::number:
      {
        int n (p.value<int> ());
        // ...
      }
    }
  }
}
... More
version 0.1.0
license MITMIT License
repository pkg:cppget.org/alpha
location https://pkg.cppget.org/1/alpha
download libstud-json-0.1.0.tar.gz
sha256 859c3c863dce3f3906b7fc94621e8b83ba1e995078dc0a068982cefd042074fa
project libstud
url github.com/libstud/libstud-json
topics C++JSONparsingserializationstreaming

Builds

toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64-static_O3 / x86_64-w64-mingw32
timestamp 2020-11-24 17:18:02 UTC (02:46:46 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64 / x86_64-w64-mingw32
timestamp 2020-11-24 17:16:28 UTC (02:48:20 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-gcc_9.2_mingw_w64-O3 / x86_64-w64-mingw32
timestamp 2020-11-24 17:15:23 UTC (02:49:25 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6_lld / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 13:10:24 UTC (06:54:23 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 13:08:59 UTC (06:55:49 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 13:06:47 UTC (06:58:00 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_llvm_msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 13:01:59 UTC (07:02:49 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6-static_O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 12:54:15 UTC (07:10:33 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 12:52:42 UTC (07:12:06 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++-static_O3 / x86_64-linux-gnu
timestamp 2020-11-24 12:42:00 UTC (07:22:47 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++-O3 / x86_64-linux-gnu
timestamp 2020-11-24 12:40:59 UTC (07:23:49 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 12:39:57 UTC (07:24:51 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0-static_O3 / x86_64-linux-gnu
timestamp 2020-11-24 12:38:54 UTC (07:25:53 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_9.0_llvm_msvc_16.4 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 12:38:07 UTC (07:26:41 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0-O3 / x86_64-linux-gnu
timestamp 2020-11-24 12:37:52 UTC (07:26:56 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.6-O2 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 12:37:32 UTC (07:27:15 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_10.0 / x86_64-linux-gnu
timestamp 2020-11-24 12:36:53 UTC (07:27:54 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0-static_O3 / x86_64-freebsd12.1
timestamp 2020-11-24 12:30:54 UTC (07:33:54 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0-O3 / x86_64-freebsd12.1
timestamp 2020-11-24 12:29:34 UTC (07:35:14 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-clang_10.0_msvc_msvc_16.6 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 12:29:30 UTC (07:35:18 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1-O3 / x86_64-linux-gnu
timestamp 2020-11-24 12:28:46 UTC (07:36:01 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_8.0 / x86_64-freebsd12.1
timestamp 2020-11-24 12:28:41 UTC (07:36:07 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1-static_O3 / x86_64-linux-gnu
timestamp 2020-11-24 12:27:42 UTC (07:37:06 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10_devmode-msvc_16.4 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 12:19:54 UTC (07:44:53 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_9.0_libc++ / x86_64-linux-gnu
timestamp 2020-11-24 12:19:47 UTC (07:45:01 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-clang_9.0 / x86_64-linux-gnu
timestamp 2020-11-24 12:18:28 UTC (07:46:19 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_10.1 / x86_64-linux-gnu
timestamp 2020-11-24 12:18:05 UTC (07:46:42 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config windows_10-msvc_16.5 / x86_64-microsoft-win32-msvc14.2
timestamp 2020-11-24 12:17:21 UTC (07:47:27 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config freebsd_12-clang_6.0 / x86_64-freebsd12.0
timestamp 2020-11-24 12:12:43 UTC (07:52:05 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config linux_debian_10-gcc_9.3 / x86_64-linux-gnu
timestamp 2020-11-24 12:04:19 UTC (08:00:28 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew-static_O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 05:36:55 UTC (14:27:52 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew-O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 05:34:22 UTC (14:30:26 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0-static_O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 05:32:49 UTC (14:31:58 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-gcc_9.3_homebrew / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 05:21:57 UTC (14:42:50 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0-O3 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 05:18:47 UTC (14:46:01 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.14-clang_10.0 / x86_64-apple-darwin18.6.0
timestamp 2020-11-24 04:57:46 UTC (15:07:01 hours ago)
result success | log | rebuild
toolchain public-0.13.0
config macos_10.15-clang_11.0 / x86_64-apple-darwin19.0.0
timestamp 2020-11-24 04:56:28 UTC (15:08:19 hours ago)
result success | log | rebuild

Changes

During the pre-1.0.0 development see the revision history.