step1、install ndk-pkg
step2、update ndk-pkg-formula-repository
ndk-pkg update
step3、build and install nlohmann-json
ndk-pkg install nlohmann-json
ndk-pkg formula view nlohmann-json
{{ formula }}
if the formula of nlohmann-json dosn't meet your needs, you can edit it ⤵︎
ndk-pkg formula edit nlohmann-json
after editing, you may want to rebuild this package ⤵︎
ndk-pkg install nlohmann-json