examples, tutorials #1

Open
opened 2019-12-12 06:54:03 +00:00 by JernejL · 1 comment
JernejL commented 2019-12-12 06:54:03 +00:00 (Migrated from github.com)

This looks like a great library, it's used by your gltf work and in your other projects, but in the end there is no proper documentation.

I would like to make a few examples for others to use and use the library in my projects but i have no idea where to approach using it, and what method of usage to suggest - so if you have any kind of test case for the code that you used, i can start with that - otherwise i'll do my best to figure it out from PasGLTF.

This looks like a great library, it's used by your gltf work and in your other projects, but in the end there is no proper documentation. I would like to make a few examples for others to use and use the library in my projects but i have no idea where to approach using it, and what method of usage to suggest - so if you have any kind of test case for the code that you used, i can start with that - otherwise i'll do my best to figure it out from PasGLTF.
coderextreme commented 2024-05-28 09:45:54 +00:00 (Migrated from github.com)

Agreed! I'm trying simple things like this in the Castle Engine fork, and it's not working!

  var
    //aStream: TStream;
    JSONItem: TPasJSONItem;
  begin
    //aStream := TStringStream.Create('{}');
    JSONItem:=TPasJSON.Parse('{}',[],TPasJSONEncoding.AutomaticDetection);
    TPasJSON.Stringify(JSONItem);
    Result := nil;
  end;```
Agreed! I'm trying simple things like this in the Castle Engine fork, and it's not working! ```function MyJSON.JSONParse(): TDOMDocument; var //aStream: TStream; JSONItem: TPasJSONItem; begin //aStream := TStringStream.Create('{}'); JSONItem:=TPasJSON.Parse('{}',[],TPasJSONEncoding.AutomaticDetection); TPasJSON.Stringify(JSONItem); Result := nil; end;```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
BeRo1985/pasjson#1
No description provided.