Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

QAction in C#: JSON Library missing?

Solved1.68K views7th July 2023C++ JSON Library QAction
9
Dominique Bodart [DevOps Member]693 10th March 2023 0 Comments

Hi,

I can see it is possible to parse JSON file with a QAction, something I need to do to interprete some HTTP request. So, in all example I saw on the Dojo, in QAction we have to add the Json library, for instance like that:

using Newtonsoft.Json;

But if I do on my system in DIS, I got an error saying it couldn't find that library name. So, Isn't part of the standard library in C#?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
9
Floris Cockaerts [SLC] [DevOps Advocate]2.43K Posted 10th March 2023 0 Comments

Hi Dominique,

Newtonsoft.Json is the most common way to parse to and from JSON messages, but it is still a custom library made by Newtonsoft and not part of your project by default.

If you are writing a connector that uses projects for QActions, then include the NuGet: NuGet Gallery | Newtonsoft.Json 13.0.3

If you are writing a connector that has the QAction code directly in the XML, add a dllImport reference to Newtonsoft.Json.dll

Because we use Newtonsoft in our core processes as well, this dll is part of the \Files folder. If you want to force a specific version of the dll with the second method, create a folder inside of the \ProtocolScripts folder and reference it as such. For example: dllOverride\Newtonsoft.Json.dll . This will force the QAction compilation to happen against this specific dll, and because it is signed, SLScripting will look for this exact version rather than the one found in \Files.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023
You are viewing 1 out of 4 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin