{"id":21436817,"url":"https://github.com/mtojo/j2n","last_synced_at":"2025-10-30T15:19:46.508Z","repository":{"id":26467957,"uuid":"29919548","full_name":"mtojo/j2n","owner":"mtojo","description":"Generates C++/JNI wrapper from Java archive file (.jar)","archived":false,"fork":false,"pushed_at":"2015-04-10T09:43:28.000Z","size":360,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-22T10:56:59.833Z","etag":null,"topics":["android","c-plus-plus","go","jar","java","jni-wrapper"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtojo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-27T15:13:51.000Z","updated_at":"2022-08-07T17:13:02.000Z","dependencies_parsed_at":"2022-08-29T17:13:41.347Z","dependency_job_id":null,"html_url":"https://github.com/mtojo/j2n","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtojo%2Fj2n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtojo%2Fj2n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtojo%2Fj2n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtojo%2Fj2n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtojo","download_url":"https://codeload.github.com/mtojo/j2n/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225981809,"owners_count":17554923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","c-plus-plus","go","jar","java","jni-wrapper"],"created_at":"2024-11-23T00:15:56.483Z","updated_at":"2025-10-30T15:19:41.461Z","avatar_url":"https://github.com/mtojo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# j2n\n\n## Description\n\nGenerates C++/JNI wrapper from Java archive file (.jar).\n\n## Installation\n\n    go get github.com/mtojo/j2n\n\n## Usage\n\n    j2n -i file\n\nOptions:\n\n    -i \u003cfile\u003e      input jar file\n    -o \u003cdir\u003e       output directory; same as input if not specify\n    -f             overwrite output directory if already exists\n    -x \u003cext\u003e       header file extension (default: .hpp)\n    -c \u003cext\u003e       source file extension (default: .cpp)\n    -p \u003cprefix\u003e    macro prefix\n    -s \u003csuffix\u003e    macro suffix\n    -n \u003cnamespace\u003e namespace prefix\n    -t \u003cfile\u003e      header template file\n    -u \u003cfile\u003e      source template file\n    -l \u003cstring\u003e    .clang-format file\n\n## Example\n\nGenerates from Android SDK:\n\n    $ j2n -i $ANDROID_SDK_ROOT/platforms/android-21/android.jar -o android-sdk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtojo%2Fj2n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtojo%2Fj2n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtojo%2Fj2n/lists"}