thraaawn / smjansson Goto Github PK
View Code? Open in Web Editor NEWA SourceMod extension, wrapping Jansson, a C library for encoding, decoding and manipulating JSON data.
Home Page: https://forums.alliedmods.net/showthread.php?t=184604
A SourceMod extension, wrapping Jansson, a C library for encoding, decoding and manipulating JSON data.
Home Page: https://forums.alliedmods.net/showthread.php?t=184604
'in' is a newly reserved keyword that may be used in the future; use a different name as an identifier
In the sourcepawn native json_object_get_float()
(and possibly others), where json_object_get()
is used, the error case of json_object_get()
is not covered.
For the store plugin, this leads to errors in console if an item does not have a specific attribute.
Tough it's possible to overcome this by checking if json_object_get(Handle, attribute string)
returns INVALID_HANDLE, before calling json_object_get_float()
and the like.
Tried to build Linux version, but doesn't builds with the latest SM versions (1.10, 1.11) and ends up with error
IShareSys.h:40:10: fatal error: sp_vm_types.h: No such file or directory
steam@debian77:~/dota2/dota/addons/sourcemod/scripting$ ./compile.sh my_plugin.sp
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Compiling thefarm.sp...
SourcePawn Compiler 1.7.2-dev+5193
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC
my_plugin.sp(3) : fatal error 182: cannot read from file: "smjansson"
Compilation aborted.
1 Error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.